In order to scale without changing code, we don’t want to hardcode Couchbase hostnames into our application, so we’re looking create a single DNS name for the discovery nodes. This will allow us to bring nodes up and down without changing app code to reflect the new hostnames.
What’s the recommendation for doing that? Can we use a TCP load balancer? Will it work for both carrier and HTTP?
I understand we can’t load balance the actual CouchBase connection or Memcached, only talking about the Carrier and HTTP discovery endpoints (ports 11201 and 8091).