I've been trying to capture some data on how long it takes to synchronize document changes between CBL clients. In my setup, I've created a consumer and producer app, where the producer will continually create and update documents. In each document, I record a timestamp for when the producer creates it and the consumer receives it. Here is what I've observed so far:
* SG with Walrus, and both apps, on my laptop, I'm seeing around 200ms for a document to get from the consumer to producer
* SG with Walrus on Azure, and both apps on laptop, I'm seeing around 500ms. This seems reasonable given there is now network latency involved
* SG on my laptop using Couchbase on AWS, and both apps on laptop, I'm seeing around 6-8 seconds.
* SG using Couchbase both on the same Azure VM, and both apps on laptop, I'm seeing around 6-12 seconds.
I'm very concerned about the large increase in time when I switch from Walrus to Couchbase. Is this normal? Is there something I should look into changing with regards to my setup?
--
Eric