MongoDB

21
MongoDB Document DB
  • date post

    22-Sep-2014
  • Category

    Software

  • view

    114
  • download

    3

description

A small presentation I gave at the Senacor DevCon.

Transcript of MongoDB

Page 1: MongoDB

MongoDBDocument DB

Page 2: MongoDB

?

Page 3: MongoDB
Page 4: MongoDB

ThreadDump-Analyse

2 * ThreadDump / s!

6 h Laufzeit!

5 GB Logs

Wie viele unterschiedliche Stacks gibt es ?

Wie viele gibt es von diesen jeweils ?

Page 5: MongoDB

Map Reduce

Page 6: MongoDB
Page 7: MongoDB
Page 8: MongoDB
Page 9: MongoDB

NoSQL?Kurze Einordnungshilfe

Page 10: MongoDB
Page 11: MongoDB

Neo4J

Cassandra

Redis

Dynamo

MongoDB

CouchDB

BigTable

Data Stores

Relational

Page 12: MongoDB

CAP Theorem

Consistency!

Availability!

Partition ToleranceC

A

P

Page 13: MongoDB
Page 14: MongoDB

ACID vs BASE

Atomicity!

Consistency!

Isolation!

Durability

Basically Available !

Soft State!

Eventual Consistency

ACID BASE

Page 15: MongoDB

MongoDBvs CouchDB

Page 16: MongoDB

VergleichCouchDB 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

Page 17: MongoDB

Bootstrap

http://www.mongodb.org/downloads!

tar xfz mongodb-<os>.tgz!

cd mongodb-<os>!

mkdir data!

bin/mongod --dbpath data/

Page 18: MongoDB

bin/mongo

Page 19: MongoDB

Demo

Page 20: MongoDB

Fragen ?

Page 21: MongoDB