System Design
Jul 10, 202610 min read
Designing a Real-Time Collaborative Whiteboard canvas with WebSockets & Yjs
Conflict-free Replicated Data Types (CRDTs) powering low-latency multi-user canvas state synchronization.
Production architecture: BullMQ notifications, Collaborative CRDTs, Database Sharding, CQRS Event Sourcing, gRPC, and Istio.
Conflict-free Replicated Data Types (CRDTs) powering low-latency multi-user canvas state synchronization.
Decoupling Command write paths from Query read projections for 100% auditable financial and enterprise domain state.
Building high-throughput asynchronous job queues handling delayed retries, rate-limiting user notifications, and multi-provider failovers.
At 14:02 UTC on a Tuesday, our search cluster stopped responding. Here is how an innocent thread pool config change killed node 3.
How to rename database columns and alter schema types on 500-million row Postgres tables without holding table locks.