Operate
Scaling
Production can run multiple API processes and workers without changing the public message model. Scale from measurements.
The Compose stack is a single-node development environment. Production can run multiple API processes, separate workers, and clustered infrastructure without changing the public message model, event envelopes, or adapter interfaces.
Processes
- Multiple stateless API hosts behind a load balancer
- Multiple Centrifugo nodes on the same Redis engine
- Independent worker processes for outbox, moderation, and push
Data plane
- PostgreSQL replicas, partitioning, or archival from measured load
- Redis Cluster when PUB/SUB becomes the bottleneck
- Regional API and Centrifugo fleets when latency or blast radius requires it
Missed events are recovered with messages.sync. Direct Web Push, FCM HTTP v1, and APNs adapters wake clients. They are not the archive.
Object storage holds original media. The engine does not transcode or host video playback.
Scale from benchmarks, outbox lag, push intent and job age, and connection counts. Not from capacity slogans.