Practice

Design Yelp

Yelp is an online platform that publishes crowd-sourced reviews about businesses. It also trains small businesses to respond to reviews responsibly; hosts social events for reviewers; and provides data about businesses, including health inspection scores. Yelp.com is a popular platform for users to find and review new places to eat, shop, drink, relax, and play.

Functional requirement:

  • Business Information: Provides information about businesses such as location, hours, and services.
  • Search: Allows users to search for businesses in a specific location or category.
  • User Reviews: Allows users to write and post reviews about businesses.

Scale requirement:

  • 1M Daily Active Users
  • Read:write ratio = 1000:1
  • Data retention for 5 years
  • Assuming that each user performs 1 write operation per 10 days.
  • Assuming that each review is 1KB in size.
Step1
Step2
Step3
Step4
1. Resource Estimation