I setup a new cluster with user data but I’m the ony one using it.
1 Nginx loadbalancer; root server: 4GB RAM, 4 cores
3 CB servers; each CB server is a root server, each has 16GB RAM and 4 cores
250k documents, 100% in RAM
Cluster is in idle state as I’m the only one using it
Android CBL 1.3
CB CE 4.1
It’s a list maker for Android. Add/Delete items of lists
Push and pull replication is set to continuous
Changes will be consumed and UI will be updated
My own data is about 20 documents
A change will take about 2-5 seconds until it appears on my second device. Ideally I’d aim for less than 1 second. One reason is because CB is advertised as “Submillisecond latencies at scale” database. So I give it +1 second time for network latency, Android UI update
A more concerning issue is that sometimes a minute goes past and the change was not pulled down by the second device. Here is what I observed:
- make change on device 1
- quickly hit refresh on Couchbase console to view the document in a browser. Changes are visible
- no change on device 2. Jumping between screens back and forth does not help. Leaving app by pressing back button does not help. Removing app from RAM and restarting it does not help. Making another change on device 1 helps.
What logs can I provide to find the issue?
- Routine in Android app to see if the changes arrived but UI wasn’t updated? Specific Android CB methods?
- Other logs?
I’m planning to move my user base to the new cluster this Sunday. It’d be great if I can collect the logs beforehand so that it’s only my logs. I’d very much appreciate a quick response