KiokuDB::Backend::CouchDB - CouchDB backend for KiokuDB
KiokuDB->connect( "couchdb:uri=http://127.0.0.1:5984/database" );
Note that this is the slowest backend of all for reading data, due to the latency in communicating with CouchDB over HTTP.
Since CouchDB supports atomicity by using optimistic concurrency locking transactions are be implemented by deferring all operations until the final commit.
This means transactions are memory bound so if you are inserting or modifying lots of data it might be wise to break it down to smaller transactions.
An AnyEvent::CouchDB::Database instance.
Whether or not to try and create the database on instantiaton.
Defaults to false.
Yuval Kogman <firstname.lastname@example.org>
Copyright (c) 2008, 2009 Yuval Kogman, Infinity Interactive. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.