Andrei
Andrei

Reputation: 44700

MongoDB Sharding, config servers count

How many config server do I need to run mongodb shard environment with 4 replicasets of 3 nodes in each?

What is the formula between shard config servers, shards and nodes?

Upvotes: 1

Views: 291

Answers (1)

James Wahlin
James Wahlin

Reputation: 2821

You can run MongoDB with either one or 3 config servers. For a production deployment this should always be 3 to allow for redundancy. Documentation for this is available here.

Upvotes: 2

Related Questions