Michael Anton Dines Zedeler > KiokuDB-Backend-CouchDB > KiokuDB::Backend::CouchDB

Download:
KiokuDB-Backend-CouchDB-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.10   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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 ^

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 ^

db

An AnyEvent::CouchDB::Database instance.

Required.

create

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

Defaults to false.

SEE ALSO ^

KiokuX::CouchDB::Role::View.

VERSION CONTROL ^

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

AUTHOR ^

Yuval Kogman <nothingmuch@woobling.org>

CONTRIBUTORS ^

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

COPYRIGHT ^

    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.

    Copyright (c) 2010 Leasingbørsen. All rights reserved. This program
    is free software; you can redistribute it and/or modify it under 
    the same terms as Perl itself.
syntax highlighting: