Beginner · 25 min · 4 steps

Stopping late messages from moving an order backwards

Kavya Menon, Platform Reliability Engineer at FlashMart

Kavya Menon is an engineer at FlashMart, a quick-delivery app that brings groceries in under 10 minutes in Gurgaon and South Delhi. It is 1:15 PM on a hot Thursday. The head of logistics has posted a serious problem in the #war-room channel.

The question

How do we stop old, late messages from changing an order back to an earlier step, using a simple set of allowed moves?

  • Finite State Machine
  • Event-driven architecture
  • Data validation
  • Python dictionaries

The rest of this case study is locked

The data, every step with its code and result, and the final answer open with a pass. A few case studies stay free so you can see how they work.