scaling with mongodb

13
Trisha Gee, Java Driver Developer #SVQMUG Scaling MongoDB @trisha_gee

Upload: trisha-gee

Post on 28-Nov-2014

809 views

Category:

Technology


2 download

DESCRIPTION

Covering the basic concepts of Replica Sets and Sharding. Presented at the Seville MUG (@SVQMongoDB) March 2014

TRANSCRIPT

Page 1: Scaling with MongoDB

Trisha Gee, Java Driver Developer

#SVQMUG

Scaling MongoDB

@trisha_gee

Page 2: Scaling with MongoDB

Multi Server

Page 3: Scaling with MongoDB

Replica Set

Page 4: Scaling with MongoDB

Replica Set

Page 5: Scaling with MongoDB

Write Concern

• Unacknowledged

• Acknowledged

• Journaled

• Replica Acknowledged

• http://docs.mongodb.org/manual/core/write-concern/

Page 6: Scaling with MongoDB
Page 7: Scaling with MongoDB

Read Preference• Primary

• PrimaryPreferred

• Secondary

• SecondaryPreferred

• Nearest

• http://docs.mongodb.org/manual/core/read-preference/

Page 8: Scaling with MongoDB

Replica SetSharding

Page 9: Scaling with MongoDB
Page 10: Scaling with MongoDB
Page 11: Scaling with MongoDB

Notes

• Range and Hash Based sharding

• Pick your shard key with care

Page 12: Scaling with MongoDB

http://bit.ly/1gCf3Jg

#SVQMUG

Questions

@trisha_gee

Page 13: Scaling with MongoDB

http://bit.ly/1gCf3Jg