Semua Proyek
API
Realtime Chat API
A horizontally scalable realtime chat API with presence, typing indicators, and delivery guarantees — shipped as a multi-tenant SDK.
Node.jsRustRedisPostgreSQLWebSocket

Challenge
A customer-facing chat product needed a backend that scales to millions of concurrent connections without losing presence or delivery.
Approach
A Node.js edge layer terminates WebSockets; a Rust core handles fan-out over Redis pub/sub with sharded presence. PostgreSQL stores persistent history; delivery uses at-least-once acks with dedup. A multi-tenant SDK abstracts the wire protocol for app teams.
Outcome
- Sustained load tests at 1.2M concurrent connections per shard.
- Presence lag under 100ms p99.
- SDK adoption removed per-app backend work for four product teams.