It started out as a low-level system desing for Multi-level, Multi-Entry and Exit Parking lot.
Design a system to be able to handle payments, parking lots in general, handling different types of vehicles, give a centralized view of the parking lots.
- Share the classes and the relation between them.
- Draw a class diagram.
- write an Algorithm to fetch the closest parking spot to the particular entry. Also while the vehicle exits point them to the closest exits.
- How will you handle multiple cars entering the parking lot at the same time?
From Low-Level design we switched to High-level on the same design that i shared.
- we discussed aspects of scalability, concurrency and sharding.
- How will you handle server requests?
- How many servers would you assign and how will you scale the system?