#42Medium
Design Backend for an App to Distribute 6 Million Free Burgers in One Hour
Asked by:GoogleDeliveroo
Recommended Solutions from the Web
Key Details & Edge Cases You Should Know
•
How is the food delivered? Email notification?
•
How do you store the number of vouchers left?
•
How do you ensure that the number of vouchers is reduced exactly once per user?
•
How do you do this within the deadline - calculate rate of processing needed and machines needed for that.
•
What if something fails, how do you handle that?