Use a load balancer instead of individual URIs
Sun, 03/10/2013 - 23:21
The client library is not specific in regards to using other means to configure the urls for the cluster members.
Instead of listing all or some of the nodes in the cluster configuration, pointing to a unique location using a load balancer entry would make unnecessary to change the configuration of applications in a Production environment.
Specially when adding or removing nodes. Please let me know if this would work or would have adverse effects.
Hello,
You do need to put all the addresses in your application. You just need to have "some" of them to be sure that this node is available to "get the configuration".
The Client SDK get the topology cluster dynamically using thie URI, and know about all the nodes of the cluster and know about all the topology changes.
Is is ok if you put only a subset of your addresses in your configuration?
You should not use a load balancer with Couchbase now because the load is balanced/partitioned by the SDK & Servers automatically
Regards
Tug
@tgrall