Detailed Design of Uber
Understand the detailed design of the Uber system.
Let’s look at the detailed design of the system and see how the various components work together to offer overall functioning.
Components
Let’s discuss the components in detail.
Location manager
The riders and drivers will be connected to this service. This service will show the nearby drivers to the riders when they open the application. On the other hand, this service will also receive location updates from the drivers every 4 seconds. The location of drivers will then be communicated to Quadtree Map service to determine which segment the driver belongs to on a map. The location manager saves the last location of all drivers in a database and saves the route followed by the drivers on a trip.
Quadtree map service
This service deals with the updating of drivers’ locations. The main problem is how do we deal with finding nearby drivers efficiently.
We will modify the solution discussed in Yelp according to our requirements. We used
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy