[SR-Users] mtree on db Berkeley DB?

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 17 08:03:49 CET 2011


Hello,

On 11/16/11 12:45 PM, Javier Gallart wrote:
> [...]
> All the data in Redis stays in memory, you can dump periodic snapshots 
> to disk. Some time ago they worked in a feature called disktore, with 
> some cache mechanism between disk and memory, but as far as I know 
> that line was abandoned.

so if the redis goes down, then the records are lost or is doing dump of 
memory to disk at that time? I try to figure out if redis makes more 
sense than using one kamailio as a load balancer in front of two 
kamailios having the mtree in memory. The two with mtree will be 
restarted one after the other every 15 min. Load balancer can be 
configured to use only one, with quick fallback (100ms) to the second, 
or via kamctl the active kamailio with mtree is set to be used first.

kamailio with mtree will send back a 302 which is handled by load balancer
Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list