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

Vlad Paiu vladpaiu at opensips.org
Wed Oct 5 18:29:27 CEST 2011


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,

-- 
Vlad Paiu
OpenSIPS Developer




More information about the Users mailing list