MongoDB
Document DB
?
ThreadDump-
Analyse	
2 * ThreadDump / s!
6 h Laufzeit!
5 GB Logs
Wie viele unterschiedliche Stacks gibt es ?
Wie viele gibt es von diesen jeweils ?
Map
Reduce
NoSQL?
Kurze Einordnungshilfe
Neo4J
Cassandra
Redis
Dynamo
MongoDB
CouchDB
BigTable
Data Stores
Relational
CAP Theorem
Consistency!
Availability!
Partition Tolerance
C
A
P
ACID vs BASE
Atomicity!
Consistency!
Isolation!
Durability
Basically Available !
Soft State!
Eventual Consistency
ACID BASE
MongoDB
vs CouchDB
Vergleich
CouchDB MongoDB
Typ dokumentenorientiert dokumentenorientiert
Lizenz Apache AGPL/Apache (Driver)
Protocol REST BSON
Replikation Master-Master Master-Slave
Query Ad Hoc / Continuous MapReduce Ad Hoc / Continuous MapReduce
Query-Sprache JavaScript JavaScript
Impl. Sprache Erlang C++
Einordnung AP CP
Bootstrap
http://www.mongodb.org/downloads!
tar xfz mongodb-<os>.tgz!
cd mongodb-<os>!
mkdir data!
bin/mongod --dbpath data/
bin/mongo
Demo
Fragen ?
MongoDB

MongoDB