Estimate the scale of the system. Consider daily active users, read/write ratio, storage requirements, bandwidth, and any relevant QPS calculations...
Suppose the company has 100k employees
20% of the users are actively using the system
5% book rooms
5k users user book rooms daily
20k users check rooms daily
writes 5k / 10^5 =0.05 users/seconds
reads 20k / 10^5 =0.2 users/seconcs
Storage:
each booking requires 10kb
5k bookings a day = 10Mb a day to store booking
suppose we keep for 10 years and we book for 2 years in advance: 12 * 365 * 10Mb = 43,800 MB about 50 GB
Define the APIs expected from the system. This is your chance to analyze and define the read and write paths so that you can come up with the high-level design...
Describe the overall system architecture. Identify the main components needed to solve the problem end-to-end. Use the diagramming tool to create a block diagram.
Define the data model. Identify the main entities, their attributes, and relationships. Consider the choice of database type (SQL vs NoSQL) and justify your decision based on access patterns...
Deep dive into 2-3 key components. Explain how they work, how they scale, discuss tradeoffs, capacity, and any relevant algorithms or data structures.