I have an IBM Bluemix application using the Cloudant Bluemix service. Sometimes calls to Cloudant are slow (a few seconds), and after a minute the same call is the second. We don't hit it too hard, but nonetheless, I thought I'd look at replication to see if it was different than performance. The documentation clearly shows how to create a replica, but there is no document on how to use the replication function.
I'm not sure if this is because the Cloudant features we have through Bluemix are limited? Or what, but what the cloud dock says, for example: - Users connect to the nearest replica - If the replica does not work, users turn to another Source: https://cloudant.com/product/cloudant-features/replication/
With my Cloudant account from Bluemix, I can create a replica (transition from DB_A to B and vice versa). But what now?
I guess that itโs time to spread the load before my application, otherwise these advantages will not be applied (i.e. I donโt know the nearest replica, and I think that I will not need to write code to detect and disconnect and redirect to another replica, right ?).
I am looking for a guide to using replication to ease the download, to see if this helps performance.
Thanks Dan
source share