Microsoft - Uber system design

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-07-14Added By Anonymous
Source: Link

Company: Uber

Role: Senior Software Engineer, Staff Software Engineer

Interview Stage: Onsite


Original Post Content:


Some questions asked in Uber system design


Where to store the driver info ?

Driver -> Vehicle . Where will you store ? Relational DB or NoSQL?

Driver location keeps changing every 5 seconds. Write-heavy system. Which is the best option to store this?

Customer is shown a price for a ride but he does not book the ride immediately. By the time he clicks 'Confirm ride', the price may change. The ride can no longer be given at the same old price. How to detect and handle this ?

Where do we store the booking information?

How will you handle Uberpool?

In some places and some timings, there may be surge in traffic. eg.. people leaving the office in the evenings. Can we cache any data ? What data would we like to cache?

Comments