Mike Dirolf, 10gen sponsors MongoDB Thanks Plan: A little about what makes MongoDB interesting Some flavor for the API / querying possibilities Sharding Questions
C - The client perceives that a set of operations has occurred all at once A - Every operation must terminate in an intended response P - Operations will complete even if individual components are unavailable
Horizontal scaling necessitates P, so forced to choose C or A
Transaction is all or none Consistent state at beginning + end of transaction Transaction behaves as if only operation Upon completion, operation will not be reversed
Sacrifice consistency for availability
More complex than just Key-Value Secondary Indexes Embedded Documents
Compare to Couch
No Separate Caching Layer
Master-Slave Replica Pairs For Failover
Infinite Scalability
Collection (logical groupings of documents) Indexes are per-collection
Order Preserving Partitioning Split Migrate
Process Diagram
Global vs Targeted Operations Config Servers Use Two Phase Commit
Terminology
• Shard key
• Chunk
• Range of the value space
• (collection, key, min_val, max_val)
• Shard
• Single node (or replica pair)
• Responsible for set of chunks
Other cool stuff
• Aggregation and map reduce
• Capped collections
• Unique indexes
• Mongo shell
• GridFS
• Download MongoDB
http://www.mongodb.org
• Try it out
• Let us know what you think!
• http://www.mongodb.org
• irc.freenode.net#mongodb
• mongodb-user on google groups
• @mongodb, @mdirolf
• mike@10gen.com
• http://www.slideshare.net/mdirolf
0 comments
Post a comment