Online Sessions

Surviving a National Blackout with Offline-First Architecture | Emilio Carrión

August 4, 2026 8:00 pm (UTC)

We design for high availability assuming connectivity is always present. But what happens when a nationwide power outage leaves warehouses in the dark and cloud systems completely unreachable? During a major blackout that impacted most of Spain’s power grid, Mercadona Online had thousands of active orders mid-fulfillment across warehouses. While central systems went down, logistics operations had to continue. In this session, Emilio breaks down the architectural decisions — and the business trade-offs behind them — that made system survival possible:

  • Local-first as a first-class citizen: how edge nodes operated in “bunker mode” with on-site compute, keeping warehouse operations running without central systems.
  • The split-brain dilemma: managing state divergence between physical reality and the central database, and the rules that determined which side wins.
  • The resurrection problem: reconciling millions of offline transactions once connectivity was restored, including race conditions and data recovery challenges.

Every decision in this architecture was driven by real business constraints: SLAs with physical warehouses, perishable goods with expiration times, and logistics costs measured in thousands per minute of downtime. This is not a theoretical chaos engineering talk — it is a real-world case study of how architectural trade-offs made years earlier kept a critical business running when everything else failed. Emilio Carrión | Staff Engineer at Mercadona Tech

Discussed Heuristics

Tags

Follow us

Read our latest news from Virtual DDD on any of these social networks!

Latest sessions

Rethinking software development: insights from 20+ years in the field

Rethinking software development: insights from 20+ years in the field

„If someone is taking a journey, he (or she) can tell a story. Therefore I would take my staff and hat and would choose to travel.“ (Matthias Claudius, 1740-1815) The present talk was designed with exactly this, 1000-times heard (and slightly updated), German proverb...

Critically Engaging with Models a conversation with Rebecca

Critically Engaging with Models a conversation with Rebecca

In this session, we are joined by Rebecca Wirfs-Brock, who will first present a short talk on their essay Critically Engaging With Models followed by a group discussion. It would be great if you could read their essay beforehand. If you want to support their writing...