...

>

Design of Google Docs

Design of Google Docs

Discover the System Design principles behind real-time collaborative services like Google Docs. Architect the system using WebSockets, time series databases, and processing queues to manage concurrency and low-latency updates. Learn to implement robust conflict resolution and document history tracking.

Design

We will design the system in two steps: first, selecting the components, and second, defining the workflow to meet the functional requirements.

Components

The design utilizes the following components:

  • API gateway: Intercepts and routes client requests. It handles authentication, rate limiting, and directs edit requests, comments, and notifications to the appropriate services. It can also serve cached responses ...