CouchDB is a distributed document orientated database built in Erlang with a RESTful HTTP/JSON API. It avoids the need for migrations, plays well offline and promises easy scaling. This talk introduces the concepts specific to CouchDB, looks at the benefits of using CouchDB compared to a relational database and demonstrates how to use it with rails.
CouchDB is a document orientated database with a RESTful HTTP/JSON API. It is written in Erlang with scaling a foremost thought so is an excellent choice for projects that use a lot of unstructured data, projects that are becoming too complex to map to relational databases or projects that run a version of the application offline. The talk will start with an overview of how CouchDB differs from relational databases and introduce concepts specific to document orientated databases. We then discuss situations where CouchDB will be a good choice and others where it might not be.
CouchFoo is an excellent gem to use with rails for integration with CouchDB. It mirrors the ActiveRecord API in all but a few minor areas so keeps the learning curve low and the ease of migrating projects small. There’ll be examples of how to use the gem, situations in which it differs from ActiveRecord and highlights of functionality available in addition to the ActiveRecord API. Finally CouchDB takes a different stance on when the price of certain operations should be paid for and the last section of this talk looks at these situations. That’s not to say it’s better or worse – just different.
This topic will be presented by George Palmer (click for more details on George and all our speakers).