Estimate the scale of the system. Consider daily active users, read/write ratio, storage requirements, bandwidth, and any relevant QPS calculations...
User Auth API:
Payment API:
Reservation API:
Billing API:
Car movement API
Two flows: for reservation management via app and car movement in the lot.
Vehicle movement service manages enter and exit of car. Reservation servce creates reservation and updates the take space in the lot. Space manager assigns the best spot for the car. Load balancers makes sure if in the event of concerts or matches many customers try to reques the spot, system can still process.
simple SQL with tables for Users, Lot spaces, Reservations and bills.
Deep dive into 2-3 key components. Explain how they work, how they scale, discuss tradeoffs, capacity, and any relevant algorithms or data structures.