HomeOS
- Problem
- Bookings and chef payouts have to settle correctly against inconsistent third-party payment webhooks, and the booking endpoint has to hold at peak load without dropping requests.
- Decision
- Built an idempotent webhook replay system that can reprocess the same booking any number of times without creating duplicates, and put a caching layer in front of the booking endpoint for peak load.
- Result
- Duplicate payouts at zero: a replayed webhook settles the same booking once.



