proskillv1.0.0
realtime-communication
Build realtime features that survive production — WebSockets vs SSE vs polling trade-offs, connection lifecycle, reconnect with backoff and event resume, heartbeats, presence, horizontal fan-out via pub/sub, backpressure, and graceful degradation when connections drop.
$npx vanara install realtime-communication
Included with Vanara Pro ($10/mo) — unlocks all 206 items. See pricing →
Overview
Realtime is a distributed-systems problem wearing a UI feature's clothes: every connection will drop (mobile handoff, laptop lid, proxy idle timeout), so the architecture is defined by how you resume, not how you connect. This skill covers transport choice, the connection lifecycle, and scaling beyond one server. Deep detail in references/; a resilient client and server fan-out wiring in examples/
What it covers
- Transport decision
- The lifecycle is the design
- Heartbeats and dead connections
- Scaling past one server
- Backpressure and Slow Consumers
- Fan-out and Scaling
- Transport Trade-offs