Most common MongoDB deployment

49 views
Skip to first unread message

Rodrigo Nascimento

unread,
Oct 25, 2016, 5:36:44 PM10/25/16
to mongodb-user

Hi All,


Logwriter here! how are you?


I would like to understand what is the most common architecture deployed with MongoDB.


For example, what kind of deployment is most common:

( a ) Sharded Clusters

( b ) Replica Set (no shards) with [ n ] members


I understand that a shard cluster is the way to go to scale-out your database, but what would be the performance breakdown to start a sharded cluster?


Do you recommend to start a database as sharded database?


Thanks,


Logwriter 

Wan Bachtiar

unread,
Nov 1, 2016, 1:36:57 AM11/1/16
to mongodb-user

what is the most common architecture deployed with MongoDB.

Hi Rodrigo,

Replica set is the basis for production deployments, as it provides data redundancy and high availability. Being the minimum recomended architecture for production, a three-member replica sets would probably be the most common.

Having said that, if you’re planning to set up a MongoDB deployment, you should look into your production data requirements instead of the most common architecture out there.

The following resources may be beneficial for your MongoDB deployment:

Do you recommend to start a database as sharded database?

The answer is depends. Sharding is about scaling the capacity for reads/writes. If you know that your data set is going to be larger than your server capacity in a short term, you could shard early in anticipation.

See also:

Regards,

Wan.

Rodrigo Nascimento

unread,
Nov 5, 2016, 10:54:47 PM11/5/16
to mongodb-user
Thanks Wan!
Reply all
Reply to author
Forward
0 new messages