Using replicaSetHorizons in MongoDB (opens in new tab)
When running MongoDB replica sets in containerized environments like Docker or Kubernetes, making nodes reachable from inside the cluster as well as from external clients can be a challenge. To solve this problem, this post is going to explain the horizons feature of Percona Server for MongoDB. Let’s start by looking at what happens behind the scenes when you connect to a replicaset URI. Node auto-discovery After connecting with a replset URI, the driver discovers the list of actual members b...
Read the original article