GameDay: Lose a Zone
Easy · system design problem
The chaos team takes down a zone at T+20s. The session grid rejects what it cannot hold, and restarting it logs everyone out.
session-api keeps every user session in a 3-member Hazelcast grid (one member per zone); Postgres only holds the durable copy behind it and could never take session traffic. The grid runs at 83% of its capacity and is fail-closed: what it cannot serve is rejected rather than sent to Postgres. At T+20s the chaos team takes zone us-east-1c offline for this GameDay — a third of the grid’s members and a third of session-api’s instances go with it. Availability must stay at 99% through the whole drill.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.