Initial Design of Quora

Let us transform the quora requirements into a high-level design.

Initial design

The design will comprise the following building blocks and components:

  • Web and application servers: A typical Quora page is generated by various services. The web and application servers maintain various processes to generate a webpage. The webservers have Master processes and the application servers have Worker processes handling various requests. Master processes distribute work among the Worker processes using a router library. The router library is enqueued with tasks by the Master processes and dequeued by Worker processes. Each application server maintains several in-memory queues for handling different user requests. The following illustration provides an abstract view of web and application servers.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy