Le jeudi 6 mars 2014 15:08:40 UTC, Jens Alfke a écrit :
>
>
> On Mar 6, 2014, at 3:30 AM, Bart Arribe <[email protected] <javascript:>> 
> wrote:
>
> 1. I don't think it's possible but can we run Sync Gateway to a device ?
>
>
> No, that wouldn’t make sense. It’s a server and its purpose is to act as a 
> front-end for Couchbase Server.
>
> 2. Is Sync Gateway can run locally, only for the mobile side ?
>
>
> I don’t understand that question…?
>

Basically, I was thinking, if all the devices are connected to a local area 
network, can we use the sync gateway to sync all the devices and manage the 
conflicts ?

> 3. Or how can we manage data conflicts between devices without Sync 
> Gateway?
>
>
> The data model is the same as the Sync Gateway, just without channels or 
> per-document access control. In either case, you handle conflicts by first 
> using API calls to detect them (there are some options in the all-docs 
> query for this) and then resolving them by deleting all but one of the 
> conflicting revisions.
>
> —Jens
>

Thank you for you quick answer
Bart 

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/b048aaa2-1d4e-40c9-becf-b53e11215d48%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to