[OpenSIPS-Users] [NEW] Key-Value Interface

Vlad Paiu vladpaiu at opensips.org
Fri Oct 21 13:39:02 CEST 2011


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.

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.

[1] http://www.opensips.org/Resources/DocsTutKvinterface

Vlad Paiu
OpenSIPS Developer

On 10/05/2011 07:29 PM, Vlad Paiu wrote:
> Hello all,
> A Key-Value interface has been recently added to OpenSIPS trunk and it 
> will be present in the 1.8 release.
> 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.
> 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
> - cachedb_local ( old localcache module ) - Uses OpenSIPS shared 
> memory as storage
> - cachedb_memcached ( old memcached module ) - Uses Memcached servers 
> as back-end
> - [NEW] cachedb_redis - Uses Redis Cluster servers as back-end
> More about the available API exported by the database as well as some 
> use cases and examples can be found at [1].
> [1] http://www.opensips.org/Resources/DocsTutKvinterface
> Regards,

More information about the Users mailing list