Services/Sync/Protocol 2.0 changes: Difference between revisions

Jump to navigation Jump to search
Line 2: Line 2:


browserid support
browserid support
* need to cache auth tokens to prevent external roundtrip on each req.
* token server and metadata tokens
* node-assignment suddenly becomes a lot trickier. Need to scale it? What does first-time syncing from browserid involve?
 
digestauth support


max individual request size
max individual request size
* right now we limit (not implemented in python!) wbo size, but not total size. Restrict post body size to 3M? Need to see what sort of body size is causing timeouts
* right now we limit (not implemented in python!) wbo size, but not total size. Restrict post body size to 1M?


drop parentid
drop parentid
Line 14: Line 11:
drop predecessorid
drop predecessorid


either drop X-Weave-Alert, or implement it properly
talk to rnewman/gps about preferred way to transmit timestamps
 
* figure out how to get the timestamp into integer precision
send integers rather than decimals - milliseconds
* figure out how to get the timestamp into integer precision - either cut down to deciseconds or use last significant digits.


405 for wrong method
405 for wrong method
Line 29: Line 24:
delete /storage takes multiple collections
delete /storage takes multiple collections
* Will give us the ability to delete "everything except keys" without using a loop
* Will give us the ability to delete "everything except keys" without using a loop
==Proposed changes to migrate to 2.1==


generate better docs for how to implement backoff on client
generate better docs for how to implement backoff on client
canmove, Confirmed users
1,173

edits

Navigation menu