scaling with mongodb
DESCRIPTION
Covering the basic concepts of Replica Sets and Sharding. Presented at the Seville MUG (@SVQMongoDB) March 2014TRANSCRIPT
Trisha Gee, Java Driver Developer
#SVQMUG
Scaling MongoDB
@trisha_gee
Multi Server
Replica Set
Replica Set
Write Concern
• Unacknowledged
• Acknowledged
• Journaled
• Replica Acknowledged
• http://docs.mongodb.org/manual/core/write-concern/
Read Preference• Primary
• PrimaryPreferred
• Secondary
• SecondaryPreferred
• Nearest
• http://docs.mongodb.org/manual/core/read-preference/
Replica SetSharding
Notes
• Range and Hash Based sharding
• Pick your shard key with care
http://bit.ly/1gCf3Jg