Name : perl-DR-Tarantool
| |
Version : 0.44
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 71.74
| Date : 2024-10-11 21:40:44
|
Group : Development/Libraries/Perl
| Source RPM : perl-DR-Tarantool-0.44-71.74.src.rpm
|
Size : 0.23 MB
| |
Packager : (none)
| |
Summary : Perl driver for L< Tarantool|http://tarantool.org>
|
Description :
This module provides a synchronous and asynchronous driver for at http://tarantool.org.
The driver does not have external dependencies, but includes the official light-weight Tarantool C client (a single C header which implements all protocol formatting) for packing requests and unpacking server responses.
This driver implements \"iproto\" protocol described in https://github.com/mailru/tarantool/blob/master/doc/box-protocol.txt
It is built on top of AnyEvent - an asynchronous event framework, and is therefore easiest to integrate into a program which is already based on AnyEvent. A synchronous version of the driver exists as well, it starts AnyEvent event machine for every request.
The driver supports three work flow types:
* DR::Tarantool::AsyncClient
The primary type, provides an asynchronous, callback-based API. Requires a running AnyEvent machine.
* DR::Tarantool::SyncClient
Is built on top of DR::Tarantool::AsyncClient. Starts AnyEvent machine for every request. After a request is served, the event loop is stopped, and the results are returned to the caller, or, in case of an error, an exception is thrown.
* DR::Tarantool::CoroClient
Is also built on top of DR::Tarantool::AsyncClient, but is designed to work in cooperative multitasking environment provided by Coro. Is fully syntax-compatible with DR::Tarantool::SyncClient, but requires a running event loop to operate, like DR::Tarantool::AsyncClient. Requests from different coroutines are served concurrently.
at http://tarantool.org binary protocol contains no representation of database schema or tuple field types. Due to this deficiency, to easily integrate with Perl and automatically convert tuple fields to Perl values, the driver needs to know field names and types. To tell the driver about them, an instance of a dedicated class must be used. DR::Tarantool::Spaces is essentially a Perl hash which describes field types and names for each space used in the program. It can hardly be useful on its own, but once a connection is \"enlightened\" with an instance of this class, access to all tuple fields by a field name becomes possible. Type conversion, as well as packing/unpacking from Tarantool binary format is performed automatically.
Please follow the docs for DR::Tarantool::Spaces to learn how to describe a schema.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/openSUSE_Tumbleweed/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(DR::Tarantool)
perl(DR::Tarantool::AEConnection)
perl(DR::Tarantool::AsyncClient)
perl(DR::Tarantool::CoroClient)
perl(DR::Tarantool::Iterator)
perl(DR::Tarantool::LLClient)
perl(DR::Tarantool::LLSyncClient)
perl(DR::Tarantool::MsgPack)
perl(DR::Tarantool::MsgPack::AsyncClient)
perl(DR::Tarantool::MsgPack::Bool)
perl(DR::Tarantool::MsgPack::CoroClient)
perl(DR::Tarantool::MsgPack::LLClient)
perl(DR::Tarantool::MsgPack::Proto)
perl(DR::Tarantool::MsgPack::SyncClient)
perl(DR::Tarantool::RealSyncClient)
perl(DR::Tarantool::Space)
perl(DR::Tarantool::Spaces)
perl(DR::Tarantool::StartTest)
perl(DR::Tarantool::SyncClient)
perl(DR::Tarantool::Tuple)
perl(DR::Tarantool::Tuple::MsgPack)
perl-DR-Tarantool
perl-DR-Tarantool(x86-64)
Requires :