CouchDB @ PoliMi

1,400 views

Published on

Presentation I gave during the Database 2 course @ Politecnico di Milano, Polo di Como on 18/1/2011

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,400
On SlideShare
0
From Embeds
0
Number of Embeds
185
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

CouchDB @ PoliMi

  1. 1. CouchDB <ul>Giorgio Sironi Politecnico di Milano, #764852 Polo di Como – 18/01/2011 </ul>
  2. 2. Characteristics <ul><li>Cluster Of Unreliable Commodity Hardware
  3. 3. Document-oriented
  4. 4. Built for the web
  5. 5. Open source, written in Erlang </li></ul>
  6. 6. Here is a document <ul>No schema, no atomic values, no sequential keys </ul>
  7. 7. No binary protocol <ul>HTTP is universal and firewall-friendly </ul>
  8. 8. No SQL (really no-brainer)
  9. 9. No immediate consistency <ul><li>”Stale” views, but multiversion concurrency control </li></ul>
  10. 10. No transactions <ul>A transaction is modelled with a document </ul>
  11. 11. Other coolness <ul><li>Crash-only design </li><ul><li>If you want to shutdown CouchDB, you must kill it. </li></ul><li>Distribution: even master-master </li><ul><li>Conflict resolutions, automated replication between nodes </li></ul><li>Long-polling queries </li><ul><li>A request for changes can be left open forever </li></ul></ul>
  12. 12. References <ul>CouchDB Wiki <ul>http://wiki.apache.org/couchdb/ </ul>CouchDB: The Definitive Guide <ul>http://guide.couchdb.org/ </ul></ul>
  13. 13. Thanks for your attention

×