Honey, the Audience Broke My App
summary
A simple Kubernetes voting app backed by Redis and Postgres crashes under real user traffic when a naive referral cache implemented as a global Python list exhausts memory after 10 entries in the demo, causing 503s and a Prometheus alert sent to Slack. The workflow uses mirrord to redirect real cluster requests to a local process for live debugging without redeploys; the live demo fails due to operator/connectivity issues so the fix is described but not shown.
AI-written summary · about
