יובל קוג'מן (Yuval Kogman) > KiokuDB-Backend-CouchDB-0.04 > KiokuDB::Backend::CouchDB

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

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.04   Source   Latest Release: KiokuDB-Backend-CouchDB-0.16

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.

VERSION CONTROL ^

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

AUTHOR ^

Yuval Kogman <nothingmuch@woobling.org>

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.
syntax highlighting: