Service Discovery: Heartbeat Registry & Stale-Cache Failures
Interactive 3D simulator of a microservices service registry: instances heartbeat to stay HEALTHY, go SUSPECT then DOWN when heartbeats stop, and a client's stale cached view of the registry sends live requests to dead instances.
A mobile app's backend is rarely one server — it is a cluster of interchangeable microservice instances that a service registry tracks by heartbeat. This simulator renders that registry in 3D: instances orbit a central registry node, pulse a heartbeat line home on every beat, and change color as their elapsed silence crosses the TTL and 2×TTL thresholds that separate healthy, suspect and down. A client node on the side routes live request particles using its own cached snapshot of "healthy" instances, refreshed only every R seconds — so turning up the crash rate or the cache refresh interval visibly increases how often a request is fired at a node that is already dead, the exact staleness trade-off every client-side service-discovery system has to tune.
A 3D service-registry simulator for a mobile backend's microservice cluster: instances heartbeat to stay HEALTHY, drift to SUSPECT then DOWN once heartbeats stop, while a client's periodically-refreshed cached view keeps routing live requests to nodes that already crashed.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install