9. CouchDB
• Eventual Consistency
…Unlike traditional relational
databases, where each action
performed is necessarily subject to
database-wide consistency checks,
CouchDB makes it really simple to
build applications that sacrifice
immediate consistency for the
huge performance improvements
that come with simple distribution.
• Local Consistency ¿? next slide
[Wiki] Paxos
10. CouchDB
• powerful B-tree storage engine
• uses MapReduce to compute the results of a view
• No locks, uses Multi-Version Concurrency Control (MVCC)
[Wiki] B-Tree
[Wiki] MVCC
15. CouchDB
• Design Docs
• special type of CouchDB
document that contains
application code.
• Views
• Validations
• Show
16. • an in-browser database
• also runs in Node.js
• a direct interface
to CouchDB-compatible
servers
• PouchDB is not a self-
contained database
• it is a CouchDB-style
abstraction layer
17. • Plugins
• PouchDB Authentication
• Pouch Box
• Allows decentralized authentication and access control per document, using
asymmetric encryption.
• Pouch Mirror
• Creates a synced in-memory mirror of a remote CouchDB for faster reads.
• And more…