SlideShare a Scribd company logo
NOSQL
Il rinascimento dei database?




                Paolo Bernardi
Facebook
500+ TB dati/giorno
Datacenter-friendly
Developer-friendly*

           *depending on the developer
Document-based
Key/Value

BigTable

Graph-based
NOSQL: il rinascimento dei database?
> j = { name : "mongo" };
{"name" : "mongo"}
> t = { x : 3 };
{ "x" : 3 }
> db.things.save(j);
> db.things.save(t);
> db.things.find();
{ "_id" : ObjectId("4c2...84a"),
  "name" : "mongo" }
{ "_id" : ObjectId("4c2...84b"),
  "x" : 3 }
NOSQL: il rinascimento dei database?
> SET server:name "fido"
"OK"
> GET server:name
"fido"
> RPUSH friends "Tom"
1
> RPUSH friends "Bob"
2
> LRANGE friends 0 -1
["Tom","Bob"]
NOSQL: il rinascimento dei database?
Key

Row
Row   CF     Column   Tstamp   Value
NOSQL: il rinascimento dei database?
Polyglot Persistence
A Babel?
Grazie per l'attenzione!




             Paolo Bernardi
             @bernarpa

More Related Content

NOSQL: il rinascimento dei database?