6. NoSQL Focus
ly?
shard
al
ing
Re
read-
slave
vertic s
al sc
aling
data models scalability
7. NoSQL Focus
what is
scaling
1. Horizontal
scale:
scalability
more ser
vers crea
capacity tes more
2. Trans
parent t
applicati o the
on:
the busin
ess logic
app shou of the
ld be se
from con parated
cerns of
server re scaling
sources
3. No sin
gle point
no one s of failur
erver wh e:
lost, cau ich, if
ses down
the appl time of
ication
http://adam.blog.heroku.com/past/2009/7/6/sql_databases_dont_scale/
9. according to http://nosql-database.org:
Column stores
Key Value / Tuple Store
Document stores
Eventually Consistent
Key Value Store
Graph Databases
XML Databases
10. Column stores Key Value / Tuple Store
Chordless
Hadoop / HBase Berkeley DB
Redis!
Cassandra MemcacheDB
Scalaris
Hypertable Mnesia
Tokyo Cabinet / Tyrant
LightCloud
GT.M
HamsterDB
Document stores Scalien
Jackrabbit Riak Eventually Consistent
CouchDB Terrastore
MongoDB ThruDB Key Value Store
Terrastore CloudKit
Voldemort
Dynomite a lm
o
KAI ope s t a l l
n s o a re
u rc
e
Graph Databases XML Databases
Neo4J Mark Logic Server
InfoGrid Sedna
EMC Documentum xDB !
Sones Xindice
Tamino
HyperGraphDB Berkeley DB XML
eXist
11.
12.
13. Background check
large contributions by web
content management system
vendor Day (Basel)
14. Data Model
stuc
ture mandatory fields
d field types
schem
allowed parents
a
etc.
unst
ruct
ured
look Ma, no schema!
s
schemales
40. Data Model
keyspace Twitter
column family Statuses
key columns
123 user_id: “abc” text: “i can haz cheesburger”
456 user_id: “abc” reply-to: “123” text: “nom nom”
plus super-co lumns
column family Users
41. High Lights
datacenter aware
• High availability
• Eventually consistent
• Tunable tradeoffs between consistency and latency
• No Single Point of Failure
no no de in the clus ter is spec
ial
42. The Sweet Spot
really large data sets,
really high availability
http://www.flickr.com/photos/blentley/2951836266/