Hello,
I'd like to know if there's any restriction in the P2P architecture, or
any limitation on the number of devices that can "talk" to each other.
In case my app doesn't have connection to sync gateway, it connects peer
to peer to the devices found in an array which correspond to all the
devices in the same local network. That means that they will all try to
connect to the first device in the list, in case it is unavailable for some
reason, they will try to connect to the next in the list and so on.
What I want to ensure is that all devices have the same information, and
when the internet connection is re-established, e.g the sync_gateway is
available again, all the changes are stored in the server which is in the
cloud.
1. Is this architecture ok for this scenario or shall we find a way
to have only one mobile device acting as a server so that all communicate
only to this one?
2. In case the above approach is acceptable, is there any limit on
the amount of devices that can interact p2p?
3. When the sync_gateway is reachable again, is there anything we
must take into consideration to avoid conflicts or data inconsistency?
4. How does couch base lite detect that it no longer has connection to
sync_gateway? is it only when we try to write in the database or also when
reading? or is there any heart beat?
I appreciate your clarifications,
BR,
Sandra
--
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/f36fc306-ac7f-4839-b283-734f2bf26d6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.