Skip to content
Theory · File storage · lesson 7 of 10

Sync between devices

Sync must keep three promises. A change reaches the other online devices within 10 seconds. A device that was offline for weeks catches up on every change. And an edit made on two devices at once is not lost. This lesson covers how a device learns of a change, how it catches up on what it missed, how a shared folder works and how the service notices a conflict.

In this lesson

  • Long polling
  • How the signal finds the server
  • The journal from the cursor
  • A shared folder
  • A conflict
  • Common mistake
  • Key points