DEV Community

Subham Ghosh
Subham Ghosh

Posted on Edited on

How Google Drive Syncs Files and Resolves Concurrent Edits

File synchronization looks simple until devices go offline, files become large, and multiple users edit the same content.
This article examines a Google Drive–style sync architecture and the problems behind reliable file updates:

Offline edits reconnecting at the same time
Large files with only small changes
Out-of-order retries, metadata updates, and notifications
Concurrent edits and version conflicts
The accompanying HLD diagram maps the flow across the client, API gateway, metadata server, block server, metadata database, and object storage. The article explains how these components interact during synchronization.
Read the full article: https://engineering.by-tech.workers.dev
Any feedback, questions, or discussion are welcome.

Top comments (0)