NoSQL - Motivation and Overview
Upcoming SlideShare
Loading in...5
×
 

NoSQL - Motivation and Overview

on

  • 2,280 views

Introduction to NoSQL, Redis and CouchDB presented by Jonathan Weiss at BarCampRuhr4

Introduction to NoSQL, Redis and CouchDB presented by Jonathan Weiss at BarCampRuhr4

Statistics

Views

Total Views
2,280
Views on SlideShare
2,278
Embed Views
2

Actions

Likes
2
Downloads
25
Comments
0

2 Embeds 2

http://twitter.com 1
http://www.mefeedia.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

NoSQL - Motivation and Overview NoSQL - Motivation and Overview Presentation Transcript

  • N✮SQLData-Storage jenseits von SQLJonathan WeissPeritor GmbH
  • Wer?Ruby-EntwicklerOpen-Source-Contributor (http://github.com/jweiss)@jweiss 2
  • N✮SQL-Datenbanken?Built for the WebSkalierbarPerformantFlexibles Datenschema 3
  • Riak BigTable Lotus Notes Amazon S3 Memcached Redis Cassandra MongoDB Dynamo Dynomite CouchDBAmazon SimpleDB Excel ;) Tokyo Tyrant Neo4j Project Voldemort HBase 4
  • Der Status-QuoRelationale DatenstrukturenSQLTransaktionssicherheitLocking 5
  • Das Problem 6
  • Das Problem 7
  • Die Lösung ”Simplicity is prerequisite for reliability“ — Edsger W. Dijkstra 8
  • Die Lösung key => “value” 9
  • Dokumente 10
  • Integrität 11
  • Eventual Consistency 12
  • Append-Only 13
  • Append-Only Update 14
  • Append-Only Update 15
  • Skalierbarkeit 16
  • Tools 17
  • Tools Riak BigTable Lotus Notes Amazon S3 Memcached Redis Cassandra MongoDB Dynamo Dynomite CouchDBAmazon SimpleDB Excel ;) Tokyo Tyrant Neo4j Project Voldemort HBase 18
  • Tools Riak BigTable Lotus Notes Amazon S3 Memcached Redis Cassandra MongoDB Dynamo Dynomite CouchDBAmazon SimpleDB Excel ;) Tokyo Tyrant Neo4j Project Voldemort HBase 19
  • RedisSimpler Key-Value-StoreSpeichert Strings, Listen und SetsPersistenz über Snapshots oder Append-Logs 20
  • Redis 21
  • Redisset foo 4 Request1000+OK Response 22
  • ScalingMaster-Slave mittels SnapshotsMultiple Master mittels Hash Ring 23
  • Einsatz-SzenarienPersistenter CacheSession-StoreRealtime-Data: Monitoring, Trading, ...Simple Message QueueShared State 24
  • CouchDB relax 25
  • CouchDBDokument-orientiert 26
  • ”CouchDB is built of the Web“— Jacob Kaplan-Moss 27
  • CouchDB Document {    "_id":  "BCCD12CBB",    "_rev":  "1-­‐AB764C",    "type":  "person",    "name":  "Darth  Vader",    "age":  63,    "headware":  ["Helmet",  "Sombrero"],    "dark_side":  true } 28
  • CouchDB Document {    "_id":  "BCCD12CBB",    "_rev":  "1-­‐AB764C",    "type":  "person",    "name":  "Darth  Vader",    "age":  63,    "headware":  ["Helmet",  "Sombrero"],    "dark_side":  true } 29
  • CouchDB Document {    "_id":  "BCCD12CBB",    "_rev":  "1-­‐AB764C",    "type":  "person",    "name":  "Darth  Vader",    "age":  63,    "headware":  ["Helmet",  "Sombrero"],    "dark_side":  true } 30
  • CouchDB - CRUDErstellen/Aktualisieren:PUT /starwars/BCCD12CBBLesen:GET /starwars/BCCD12CBBLöschen:DELETE /starwars/BCCD12CBB 31
  • CouchDBWie komme ich an meine Daten? 32
  • CouchDB Views! 33
  • CouchDB function(doc)  {    if  (doc.headware)  {        for  (var  hat  in  doc.headware)  {            emit(hat,  1);        }    } } 34
  • CouchDB function(keys,  values,  rereduce)  {    return  sum(values); } 35
  • LibrariesSimplyStored: Ruby wrapper Models Associations Callbacks Validations Dynamic finder S3 attachments Paranoid deletehttp://github.com/peritor/simply_stored 36
  • Libraries 37
  • B-Tree 38
  • Crash-Proof 39
  • Offline by default 40
  • Replication 41
  • CouchDBPOST /_replication 42
  • Und?Daten sind wieder König 43
  • Aber!Kein goldener Hammer 44
  • 45
  • 46
  • Peritor Cloud-Management und -Deployment made easy http://scalarium.com 47
  • Peritor GmbHBlücherstr. 22, Hof III Aufgang 610961 BerlinTel.: +49 (0)30 69 20 09 84 0Fax: +49 (0)30 69 20 09 84 9Internet: www.peritor.comE-Mail: info@peritor.com© Peritor GmbH - Alle Rechte Vorbehalten