Search
Lessons (6)
- Design a Chat Application
Deliver live messages without losing them by separating durable messages from fan-out, presence and offline notifications. ![Chat …
- Proxies, APIs and Real-Time Protocols
… updates Long polling Repeated connections Live two-way chat WebSocket Connection lifecycle/fan-out Ordered reliable bytes TCP …
- Service Communication: Sync vs Async
… All covered in Resilience Patterns . Avoid chatty services mermaid flowchart LR subgraph Chatty["❌ Chatty: N+1 over the …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… T end js // A chat room is a mediator between users class ChatRoom { members = new Map(); join(user …
- Finding Service Boundaries with DDD
… 4. Check the chattiness: if two services call each other for every request, they're probably one context …
- Caching & Redis
… groups Pub/Sub PUBLISH , SUBSCRIBE Real-time notifications, chat js // Leaderboard in 3 commands await redis.zAdd("leaderboard …