Am I right to assume if replication is setup as *continuous* in an app this results in a permanent connection between the app and Sync Gateway?
If my assumption above is right, is a LiveQuery akin to having a permanent connection between the app and Sync Gateway, much like replication? Actually if my assumption is right it raises another question, what happens if the app loses network connectivity or becomes inactive (i.e. the user switches to another app)? My main concern is whether to use continuous replication or not and the resources required to handle X number of users all using continuous replication. For pull replication, at any moment in time, does it know the *total* number of changes between the Couchbase Server bucket and the Couchbase Lite database? For example, if the Couchbase Server bucket has 100 documents and Couchbase Lite has 30, does the pull replication object know there are 70 (100-30) documents to sync? Or does it only determine this over time (e.g. at time1 there are 10 documents to sync, at time2 there are 45 and finally at time3 there are 70 documents to sync)? Maybe I am thinking about replication too much... -- 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/b9a0371c-0082-4c1e-92a3-5da194557edf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
