educative.io

How we will manage document access privilges through the session servers in design of google docs?

I didn’t understand this point and also the data is batched and stored in the time series database via session servers , what do we mean by this why are we involving session servers here can’t we directly store in time-series db via applciation servers


Course: Grokking Modern System Design Interview for Engineers & Managers - Learn Interactively
Lesson: Design of Google Docs

1 Like

Agree with it. Session servers are probably there to maintain websocket session for each User and document. Not sure why the the data persistence to Time series DB needs to pass through session servers.


Course: Grokking Modern System Design Interview for Engineers & Managers - Learn Interactively
Lesson: Design of Google Docs

Hi Ravish

In the proposed design of a collaborative document editing service, the session servers are responsible for managing user sessions and document access privileges, ensuring data consistency, and handling real-time collaboration. These servers could play a role in coordinating the actions of multiple users who are simultaneously editing a document. This coordination may include managing locks on specific document sections, tracking changes, and updating the document in real-time for all participants.

Thank you

1 Like