Skip to Content

Design a proximity service (yelp)

Home | Coding Interviews | System Design | Design a proximity service (yelp)

Proximity services help users find and access various services given their current location. The functional requirements are for users to be able to add an attraction such as a business and for users to be able to search for attractions and add reviews to attractions. The nonfunctional requirements are high scalability to support a large user base (50 million daily active users) as well as low latency and high availability. Assume 1,000 new attractions are added a day and the average users leaves 2 reviews per month.

Posted by grwgreg 2 months ago

Related Problems

Design a url shortener service (similar to tinyurl).

1. Generate expiring unique short URL from provided URL

2. Redirect users to the correct website when they navigate to the short URL

Functional Requirements

1. As users type text in a search box, show the top 10 auto complete results with very low latency

2. Analytics will be collected on what the user types

Design a service with the following functional requirements

1. Users should be able to upload and download files

2. The files should be able to be shared with other users

3. Changes to the files should be pushed to other users with the content on their machine

4. There must be no risk of file corruption

5. Keep track of different versions of the files so they may be rolled back

6. Users should be able to edit files without an internet connection and the changes sync up when a connection becomes available

Design a social network website with the following functional requirements

1. Users should be able to post content with text, images or video 2. Users should be able to follow other users 3. Each user will have a relatively low latency feed which shows content posted by users they follow