I have 2 questions when it comes to creating replica sets with Mongo DB. The questions are as follows:
- When creating a replica set do the secondary nodes have to be other computers? Let’s say with a replica set of 3 can all the members be from a single computer with different port numbers and DB paths assigned?
- Can the replica set members exist within different networks? Although I believe this might not be the best practice as the network delays are more prone to cause errors can this be done?