2. MongoDB is...
• a schema-less, document-oriented database
• open-source (server: GPL, drivers: Apache)
• built on C++
• supported commercially by 10gen
Friday, July 23, 2010
3. Why MongoDB?
• Fast
• Highly scalable: replication, sharding
• Open-source
• runs on Windows
Friday, July 23, 2010
5. ACID
• Atomicity - A transaction is all or nothing
• Consistency - Only valid data is written to
the database
• Isolation - Pretend all transactions are
happening serially and the data is correct
• Durability - What you write is what you get
Friday, July 23, 2010
6. BASE
• Basically Available - system seems to work
all the time
• Soft state - it doesn’t have to be consistent
all the time
• Eventually consistent - becomes consistent
at some later time
Friday, July 23, 2010
7. memcached
Scalability & Performance
key-value stores mongoDB
RDBMS
Depth of Functionality
Friday, July 23, 2010