What makes CouchDB different from all other databases? Find out in this talk.
CouchDBApacheIntroduction to
View Slide
WHAT SETSCOUCHDBAPART FROMOTHERDATABASES?
Joan Touzet[email protected]@wohali
A database:The singleorigin of truth
Then NoSQLhappened
What makesCouchDBspecial?
CouchDB ismorelikegitthanPostgres
master
mastersecondary
master…2ndary 2ndary 2ndary…
master master
master mastermaster…
CouchDB is notjust a databaseIt is a protocol
The CouchReplicationProtocol
PouchDB
A database inyour browser
TouchDBCouchbase Mobile
1969-1997 (ish)27
Offline was the default.28
Online was slow, expensive, rare.29
Online was slow, expensive, rare.30
Design pattern: Store and ForwardPlan 55-A messageswitching systems31
Design pattern: Store and ForwardUnix to Unix Copy (UUCP)Network News TransferProtocol (NNTP)Simple Mail Transport Protocol(SMTP)32
DETAILS
HTTP
JSONDOCUMENTS
REPLICATION
_changes
VIEWS
R O B U S T
STORAGE
CONCURRENCY
RESUME
THANKS!
Questions?
BONUS MATERIAL
Conflicts
❦Conflict resolutionby exampleA B
❦❦Conflict resolutionby exampleA B
❦Conflict resolutionby exampleA B❦ ✿̇
✿̇Conflict resolutionby exampleA Ḃ