Plainwire 2.0 operator handbook
Run Plainwire on infrastructure you understand.
Deployment, storage, TURN, security, backups, upgrades, and troubleshooting in one place. Start small. Add Redis early. Add Scylla only when the message workload earns it.
PostgreSQLRelational truth and default message store
RedisPresence, rate gates, hot cache
ScyllaDBOptional high-volume timeline
Recommended first production layoutPlainwire + PostgreSQL + Redis + HTTPS reverse proxy + TURN. Keep messages on PostgreSQL until Scylla has been migrated and verified.
Pick a topology
Single host, split services, or a Scylla-backed deployment.
Make calls reliable
Understand STUN, TURN, coturn, managed relays, and firewall ports.
Harden production
Keep databases private, secrets controlled, and proxy trust narrow.
Enable Redis
Shared presence, distributed rate gates, and a disposable hot cache.
Migrate to Scylla
Dual-write, backfill, verify, reconcile, then switch authority.
Plan recovery
Back up PostgreSQL, uploads, secrets, and Scylla when authoritative.