...

/

Design of Google Docs

Design of Google Docs

Let's understand how we can design the collaborative document editing service using various components.

Design

We will complete our design in two steps. In the first step, we will explain different components and building blocks and the reason for their choice in our design. The second step will describe how we fulfill various functional requirements by depicting a workflow.

Components

We have utilized the following set of components to complete our design:

  • API gateway: Different client requests will get intercepted through the API gateway. Depending on the request, it is possible to forward a single request to multiple components by the API gateway, reject a request, or reply instantly using an already cached response. Be it edit requests, comments on a document, notifications, authentication, or data storing requests, all will go through the API gateway.
  • Application servers: The application servers will run business logic and tasks that generally require computational power. For instance, some documents may be converted from one file type to another (for example, PDF to word) or support features like
...

Create a free account to access the full course.

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