Re: Improving the latency of Sync

2016-05-09 Thread Ryan Kelly
On 10/05/2016 09:29, Edouard Oger wrote: > Hello everyone, > > We want to use the new Push API to improve the general latency of Sync > between operations. > Let's consider for example the case of sending a tab to another synced > device : Device A writes in the /clients collection an opentab comm

Re: Improving the latency of Sync

2016-05-09 Thread Richard Newman
I think it's worth separating this into at least two different problems. Sync — a shared whiteboard object store — is currently (ab)used to achieve two and a half different things: 1. Real shared data like passwords. All clients read and write the same records. 2. One-way data like open tabs. One

Improving the latency of Sync

2016-05-09 Thread Edouard Oger
Hello everyone, We want to use the new Push API to improve the general latency of Sync between operations. Let's consider for example the case of sending a tab to another synced device : Device A writes in the /clients collection an opentab command and pushes its changes to the sync server. On its