August 6, 2026

Everything Everywhere OOM at Once

State-Oriented Consistency: Why We Stopped Looking for One Right Answer

One crashy server mess led to a big breakup with the idea of one perfect fix

TLDR: A real-world server crash revealed that every machine was loading all users’ saved data, even when it didn’t need to. The big community takeaway: the mistake wasn’t just memory use—it was believing one blanket rule could solve every problem in a system.

This post lands like a postmortem confession with the comments ready to pounce: the team didn’t have a mystery memory bug so much as a bad assumption dressed up as smart design. In plain English, every server was loading everyone’s saved client data “just in case,” which meant machines with barely any users were still bulging with almost the same memory use as the busiest one. Readers immediately locked onto the real scandal: not “how did it crash?” but “why was the system trying to remember the whole world at once?”

The loudest reaction is a familiar internet split between “this is a great, honest lesson” and “how did nobody spot this sooner?” Some treated it like a cautionary tale for every team chasing one neat answer to a messy problem; others saw it as a classic tech own-goal, where a simple-sounding shortcut quietly turns into a fleet-wide disaster. The author popping into the thread with a calm “yep, this came from a real production meltdown” only added to the vibe—part humility, part horror-movie reveal.

And yes, the jokes practically wrote themselves. The cluster became the office group chat that everybody gets added to for no reason. The community mood is half applause, half roast: praise for turning a painful outage into a clear lesson, and snark about the expensive habit of solving uncertainty by loading everything, everywhere, all at once. That’s the real crowd verdict: stop hunting for one magic rule, and start asking what each piece actually needs.

Key Points

  • The article says the useful design question in distributed systems is which consistency guarantee each specific piece of state needs, not which single model the entire cluster should use.
  • A production incident involved two pods being killed by the kernel OOM handler within five minutes under a 512Mi memory limit.
  • Metrics showed that one pod had far more active connections than the others, but memory usage remained similar across pods, contradicting the initial load-imbalance hypothesis.
  • Investigation found that every pod loaded all clients' persisted session state at startup, creating live in-memory objects for the entire fleet's stored sessions.
  • The article concludes that this state should have had exactly one owner, determined by a rule any node could compute, instead of being replicated everywhere.

Hottest takes

"production OOM in a clustered MQTT broker" — fcravio
"treating different kinds of distributed state as though they all required the same consistency guarantee" — fcravio
"Happy to discuss the incident, the ownership model, or the design trade-offs" — fcravio
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.