[OpenSIPS-Devel] [NEW] Memory Cache (memche) support in OpenSIPS 1.5.0

anca anca at opensips.org
Sun Feb 1 00:44:14 CET 2009


As part of a large effort to reduce the negative impact of the DB 
queries in the OpenSIPS performance, OpenSIPS 1.5.0 has now support for 
Memory Cache (memcache). As said, this is just a part of the effort of 
optimizing the DB interfacing (part of this work is the upcoming support 
for prepared statements in DB queries).

The Memory Caching support from OpenSIPS wants to provide a way of 
caching at runtime different kind of data. These data will globally 
available (anywhere in the routing script) and shared between all 
OpenSIPS processes.

The idea is to be able to store (cache) custom values for later usage. 
The main purpose of this MemCache support is to reduce the number of DB 
queries by caching data that does not need constant update from DB. DB 
queries are known to be one of bottle necks in the current design (see 
design considerations - 
http://www.opensips.org/index.php?n=Development.NewDesign) and MemCache 
support will help in avoiding unnecessary DB hits.

To find out more about the design, implementation and usage examples for 
Memory Caching, see MemCache Tutorial from the web site:

More information about the Devel mailing list