KiokuDB::Backend::CouchDB - CouchDB backend for L


KiokuDB-Backend-CouchDB documentation  | view source Contained in the KiokuDB-Backend-CouchDB distribution.

Index


NAME

Top

KiokuDB::Backend::CouchDB - CouchDB backend for KiokuDB

SYNOPSIS

Top

    KiokuDB->connect( "couchdb:uri=http://127.0.0.1:5984/database" );

DESCRIPTION

Top

This backend provides KiokuDB support for CouchDB using AnyEvent::CouchDB.

Note that this is the slowest backend of all for reading data, due to the latency in communicating with CouchDB over HTTP.

TRANSACTION SUPPORT

Top

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.

ATTRIBUTES

Top

db

An AnyEvent::CouchDB::Database instance.

Required.

create

Whether or not to try and create the database on instantiaton.

Defaults to false.

SEE ALSO

Top

KiokuX::CouchDB::Role::View.

VERSION CONTROL

Top

http://github.com/mzedeler/kiokudb-backend-couchdb

AUTHOR

Top

Yuval Kogman <nothingmuch@woobling.org>

CONTRIBUTORS

Top

Michael Zedeler <michael@zedeler.dk<gt>, Anders Bruun Borch <cyborch@deck.dk<gt>.

COPYRIGHT

Top


KiokuDB-Backend-CouchDB documentation  | view source Contained in the KiokuDB-Backend-CouchDB distribution.