Design a Real-Time Bidding System — Sub-100ms Latency at Scale

RTB system design. Latency budget breakdown, candidate generation, ranking, fraud, billing, and the operational realities of a sub-100ms decisioning pipeline.

May 1, 2026 · 3 min · 583 words · Manvendra Rajpoot

FastAPI WebSockets and Real-Time in 2026 — Production Patterns

Production WebSocket patterns in FastAPI: connection management, auth, scaling beyond one process, broadcast via Redis Pub/Sub or NATS, and the gotchas that bite.

April 30, 2026 · 3 min · 621 words · Manvendra Rajpoot

Design Google Docs / Collaborative Editing — System Design Walkthrough

End-to-end design for a collaborative editing system. Operational Transformation vs CRDTs, presence, cursors, persistence, conflict resolution, and the realities at scale.

April 30, 2026 · 3 min · 603 words · Manvendra Rajpoot

SSE vs WebSockets in 2026 — Streaming AI Apps, Chat, and Real-Time UIs

A practical comparison of Server-Sent Events and WebSockets in 2026. The protocol differences, AI token streaming, chat with cancellation, code in FastAPI, Hono, and Axum, scaling and CDN/proxy behavior, and a clear decision rule.

April 29, 2026 · 7 min · 1488 words · Manvendra Rajpoot