User:Gal/SyncDataModel: Difference between revisions

Jump to navigation Jump to search
Line 51: Line 51:
== Revision purging ==
== Revision purging ==


Clients keep the current revision of a doc in shadow couchdb. Since clients don't directly replicate with each other, there is no need for them to keep any more history than that. The server keeps the revision known to the client that is the furthest behind in replication.  
Clients keep the current revision of a doc in shadow couchdb. Since clients don't directly replicate with each other, there is no need for them to keep any more history than that. The server keeps the revision known to the client that is the furthest behind in replication.
 
== Notifications ==
 
Clients that have sync enabled should use our notifications protocol to listen to server changes. For bookmark and password changes, we push to the server after a brief delay. For history updates, we group updates with a certain (not necessarily very short) time delay.


== Optional CouchDB protocol modifications ==
== Optional CouchDB protocol modifications ==
Confirmed users, Bureaucrats and Sysops emeriti
291

edits

Navigation menu