Roblox: The Service Registry Meltdown
Hard · system design problem
The service registry every call depends on slows to a crawl, health-check agents keep writing to it, and restarting it does not help. Players must keep playing.
Inspired by Roblox’s 73-hour outage in October 2021, when its Consul cluster — used for service discovery by nearly everything — degraded under contention and took the platform down with it. Here: game-svc and match-svc look up their dependencies in the registry on every call (consistent reads served by the leader); thousands of health-check agents write status updates to it through catalog-svc (agents retry failed writes twice). At T+20s the registry degrades: 15× slower at a quarter of its capacity, for hours. Restarting it does not fix the contention, and adding members to a struggling cluster makes it worse. The SLO counts players.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.