Loading blog entries.. loading

Blogs which referenced tag: [MongoDB]


Setup MongoDB with sharding infrastructure

Written by Wayne Ye  Thursday, October 3, 2013

The landscape 

Sharding is the strategy that MongoDB uses to horizentally scale the entire data store infrustructure and meet the demands of data,growth, the infrastructure can be demonstrated as image below:



To simulate a production like environment, a minimum number of 7 physical/virtual servers are required, the role of them are:

  • 3 for Mongo config servers
  • 1 for Mongo shard server (mongos)
  • 3 for a Mongo shard (Replica set), 1 primary and 2 secondary (or 1 secondary and 1 arbiter).

Note: all the machines above need have mongod installed, for installation, refer: Install MongoDB.

View Post»