realtime-architecture
Installation
SKILL.md
Real-Time Architecture
Patterns for building real-time features: live updates, presence, collaboration, and streaming.
Technology Selection
| Use Case | Technology | When To Use |
|---|---|---|
| Bidirectional messaging | WebSocket | Chat, gaming, collaborative editing |
| Server push (one-way) | Server-Sent Events (SSE) | Notifications, live feeds, dashboards |
| Scalable pub/sub | Redis Pub/Sub | Multi-server broadcasting |
| Database-driven realtime | Supabase Realtime / Firebase | CRUD-triggered updates |
| Request-response streaming | HTTP Streaming | AI responses, large data transfers |