Search
Lessons (9)
- Distributed Coordination: Consensus, Heartbeats and Gossip
… A missed heartbeat is a guess, not proof If S1's heartbeat is late, S1 might be dead …
- API Gateway, BFF & Service Discovery
… O1[orders instance 1] -- register + heartbeat Registry O2[orders instance 2] -- register + heartbeat Registry C[Checkout svc] -- "where …
- Consumers & Consumer Groups
… stops sending heartbeats 💀 GC- C1: rebalance! Note over C1: C1 now has P0, P1, P2, P3 Note over …
- Brokers, Replication & Durability
… detects missing heartbeats C- B2: you are the new leader of P0 👑 P- B2: producer refreshes metadata, keeps …
- Proxies, APIs and Real-Time Protocols
… 2. Send heartbeats and close dead connections. Phones often vanish without saying goodbye. 3. Store "who's connected …
- Design a Chat Application
… each device sends a heartbeat, and the "online" record expires on its own after, say, 30 seconds without …
- Premiere-Night Video Streaming
… where you stopped watching" The player sends a heartbeat (a small "still watching, at minute 12:34" message …
- L6 Production Debugging Casebook
… they stay in the group, send "I'm alive" heartbeats, and take over a partition if an active …
- Kafka for Backend Services
… process faster, use smaller batches, or call heartbeat() in long batch handlers Duplicates after rebalance Expected with at …