Design a Parking Lot Reservation System in Azure

Alberto De Natale
9 min readFeb 25, 2023

A parking lot reservation system is a classic question asked during system design interviews.

One possible solution to this question may be found in this video:

The problem

The system we want to design will have two parking garages, one in East US and one in West US.

We expect 10 floors per garage, and 200 spots per floor.

We estimate an average occupancy of 30% of the available spots. Occupancy may vary during peak times when it could reach 100%.

The average length of a reservation is 2 hours.

It is given that availability and low latency are priorities, or the owner of the parking may not be able to cash in, especially during concerts or big events when demand peaks.

TPS, QPS

To estimate the number of transactions we need to:

TPS: Total Bookings per Day / 86,400 seconds per day

The total bookings in a day can be calculated considering the average capacity is 30% and that each booking last on average 2 hours.

--

--

Alberto De Natale

Alberto De Natale is a passionate tech-enthusiast software developer.