Commure·Frontend Engineer·Onsite - System Design / Architecture
- Design a patient appointment booking system where users can browse provider timeslots, select one, and pay through a third-party payment processor. Cover the data model for timeslots, concurrency control to prevent double-booking, payment integration including webhooks and idempotency, the full booking lifecycle, and how you'd handle failures and reconciliation between booking and payment state.
“This is a lot to cover in one question and I didn't pace myself well.”