You should identify enough components that are needed to solve the actual problem from end to end. Also remember to draw a block diagram using the diagramming tool to augment your design. If you are unfamiliar with the tool, you can simply describe your design to the chat bot and ask it to generate a starter diagram for you to modify...
graph TD
A(Web & Mobile Clients) --> B(Load Balancer)
B --> C(Web Servers)
C --> D(User System)
D --> E(User Database)
C --> F(Parking Lot System)
F --> G(Parking Database)
C --> H(Navigation System)
H --> I(Navigation Database)
C --> J(Payment System)
J --> K(Payment Database)
C --> L(Security System)
L --> M(Security Database)
C --> N(Feedback System)
N --> O(Feedback Database)
C --> P(Entry/Exit System)
P --> Q(Entry/Exit Database)
Explain how the request flows from end to end in your high level design. Also you could draw a sequence diagram using the diagramming tool to enhance your explanation...
sequenceDiagram
participant User
participant EntryExitSystem
participant NavigationSystem
participant ParkingSpotSystem
participant PaymentSystem
participant SpotSensor
User->>EntryExitSystem: User Enters Parking Lot
activate EntryExitSystem
EntryExitSystem-->>EntryExitSystem: Store Enter Event
EntryExitSystem-->>NavigationSystem: Request Route to Closest Spot
activate NavigationSystem
EntryExitSystem-->>NavigationSystem: User Car Size
NavigationSystem-->>EntryExitSystem: Closest Spot Route
deactivate NavigationSystem
EntryExitSystem-->>ParkingSpotSystem: Park at Closest Spot
activate ParkingSpotSystem
ParkingSpotSystem-->>SpotSensor: Spot Occupied
activate SpotSensor
SpotSensor-->>ParkingSpotSystem: Store Occupied Spot
deactivate SpotSensor
deactivate ParkingSpotSystem
EntryExitSystem-->>SpotSensor: User Leaves
activate SpotSensor
SpotSensor-->>ParkingSpotSystem: Spot Vacant
SpotSensor-->>PaymentSystem: Notify Payment
activate PaymentSystem
PaymentSystem-->>PaymentSystem: Record Fee
deactivate PaymentSystem
deactivate SpotSensor
deactivate EntryExitSystem
Dig deeper into 2-3 components and explain in detail how they work. For example, how well does each component scale? Any relevant algorithm or data structure you like to use for a component? Also you could draw a diagram using the diagramming tool to enhance your design...
graph LR
A(Navigation System) --> B(Graph Data Structure)
A --> C(Algorithm Module)
A --> D(Real-time Spot Updates)
Explain any trade offs you have made and why you made certain tech choices...
Try to discuss as many failure scenarios/bottlenecks as possible.
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?