1. I don't think it's possible but can we run Sync Gateway to a device ?
2. Is Sync Gateway can run locally, only for the mobile side ?
3. Or how can we manage data conflicts between devices without Sync Gateway?
On Mar 6, 2014, at 3:30 AM, Bart Arribe <bart...@gmail.com> 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…?
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
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 ?