<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-western">Hello,
<br>
<br>
Aside from the script documentation located at [1], we also added
a documentation on how to build modules that want to use Key-Value
type back-ends, on top of the newly added Interface.
<br>
<br>
Currently,on the trunk branch, the cachedb/example/ folder holds
an example module that uses the Interface to transparently operate
on a Key-Value type back-end.
<br>
<br>
[1] <a class="moz-txt-link-freetext"
href="http://www.opensips.org/Resources/DocsTutKvinterface">http://www.opensips.org/Resources/DocsTutKvinterface</a>
<br>
<br>
Regards,<br>
<br>
Vlad Paiu
<br>
OpenSIPS Developer
<br>
<br>
<br>
On 10/05/2011 07:29 PM, Vlad Paiu wrote:
<br>
<blockquote type="cite" style="color: rgb(0, 0, 0);">Hello all,
<br>
<br>
A Key-Value interface has been recently added to OpenSIPS trunk
and it will be present in the 1.8 release.
<br>
<br>
Key-Value interface added into OpenSIPS provides an easy way for
the script writer and the module writer to transparently access
different Key-Value type back-ends, very similar to the way the
DB interface allows easy connection to different types of SQL
databases.
<br>
<br>
Modules that offer actual back-end connection will use the
Key-Value interface in order to provide the actual functionality
to the end-user. At the current stage in time there are three
modules that use the interface to provide functionality
<br>
<br>
- cachedb_local ( old localcache module ) - Uses OpenSIPS shared
memory as storage
<br>
- cachedb_memcached ( old memcached module ) - Uses Memcached
servers as back-end
<br>
- [NEW] cachedb_redis - Uses Redis Cluster servers as back-end
<br>
<br>
More about the available API exported by the database as well as
some use cases and examples can be found at [1].
<br>
<br>
[1] <a class="moz-txt-link-freetext"
href="http://www.opensips.org/Resources/DocsTutKvinterface">http://www.opensips.org/Resources/DocsTutKvinterface</a>
<br>
<br>
Regards,
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:Users@lists.opensips.org">devel@lists.opensips.org</a>
<br>
<a class="moz-txt-link-freetext"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
</div>
</body>
</html>