scaling with mongodb
Post on 28-Nov-2014
809 Views
Preview:
DESCRIPTION
Covering the basic concepts of Replica Sets and Sharding. Presented at the Seville MUG (@SVQMongoDB) March 2014
TRANSCRIPT
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
top related