Showing posts with label Ola high level design. Show all posts
Showing posts with label Ola high level design. Show all posts

Tuesday, 4 October 2016

Design a taxi-aggregator like Ola

This entry will discuss a high level design for Ola App. Following are the feature our application is going to support.

List of Features:
1. The cab will be visible to user only if the distance between cab and user is <2Kms.
2. Maximum 10 Cabs will be visible to the user.
3. Number of cab our system will integrate : 1 Millions.
4. User per second : 10 Millions/ Second.
5. Low latency and high availability is our primary goal.

Design Strategy:

To scale the application and handle all the load one strategy would be to user Microservice based design approach. Microservices is an approach to application development where a large application is built as a suite of granular services. Each service supports a specific business goal and uses a simple, well-defined interface to communicate with other services. High level design is as follow



Using this approach, our design inherently will have all the benefits of Microservice. For detail regarding Microservice, do visit our entry on Microservice.


Algorithm

 "The cab will be visible to user only if the distance between cab and user is <2Kms."