Why CouchDB
Upcoming SlideShare
Loading in...5
×
 

Why CouchDB

on

  • 2,440 views

Slides from a Lightning Talk given at code4lib 2010 (February 23rd).

Slides from a Lightning Talk given at code4lib 2010 (February 23rd).

Statistics

Views

Total Views
2,440
Views on SlideShare
2,418
Embed Views
22

Actions

Likes
0
Downloads
18
Comments
0

4 Embeds 22

http://coderwall.com 8
http://www.slideshare.net 7
http://www.linkedin.com 6
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Why CouchDB Presentation Transcript

  • 1. Why CouchDB? the above type is not rendered in comic sans... see... Chalkboard Comic Sans MS Data Data
  • 2. Lonely Data data access depends on (often API-less) app (esp. desktop) web apps are a little better, but not always not general meant for replication/backup app may be open source, but data’s still tangled up (RDBMS)
  • 3. Enter...
  • 4. JSON Documents {“json”: “key/value pairs”, “_id” : “some uuid”, “_rev”: “mvcc key”, “string keys”: [1,2,3,”four”,null], “schema free”: “flexible”} Your programming language supports JSON! Adapt data as your application changes.
  • 5. HTTP / REST you already know the API GET read PUT create or update DELETE delete POST bulk operation
  • 6. Peer-Based Replication for Freedom triggered, incremental, filtered (soon)
  • 7. Portable Standalone Apps replicate-able apps CouchApps live inside CouchDB Get replicated with data Includes map/reduce views as well as... _show - output rendering _list - incremental index/list output _update - document validation .js, .css, .png attachments for the UI
  • 8. Let’s Replicate... ...EVERYTHING!!1! Take full advantage of CouchDB The Future is Distributed not just data, but... queries output formats attachments whole applications and everything else in between
  • 9. Imagine these as CouchApps OpenLibrary.org contribute & get updates periodically add your book while on the plane, publish it when you get off Subject Guides more ad-hoc content (thanks to schema-less- ness) more contributors (give’m their own CouchDB)
  • 10. CouchDB does replication you get to do the other stuff thanks also: check out hosting.couch.io for a free Couch