[OpenSIPS-Users] memory cache: redis

Mike O'Connor mike at oeg.com.au
Thu Nov 4 11:22:30 CET 2010


Hi Bogdan

Yes its new but has a lot of testing and seems to be very stable.

Its a memory cache with the possibility of a disk backend, I think it
could be used by the 'Dialog' and 'Usrloc' modules (and maybe more) as a
method of clustering OpenSIPS.

The disk cache means that a restart does not mean the loss of the data.

It can also be used  with complex data sets not just hash/value, one
feature which could be useful is atomic increments.

I really think it could be the thing which can make OpenSIPS full
cluster aware.

Cheers
Mike



On 4/11/10 7:25 PM, Bogdan-Andrei Iancu wrote:
> Hi Mike,
>
> That is completely new for me and checking on wikipedia, I see it is 
> really new stuff - initial release in 2009
>
> As I understand this is more suitable for a new caching backend (along 
> localcache and memcached), right ?
>
> Regards,
> Bogdan
>
> Mike O'Connor wrote:
>> Hi Guys
>>
>> Have the developers of OpenSIPS ever looked at 'redis' as an option for
>> consistency of data across a cluster ?
>>
>> It seems to me that it has a good number of advantages over memcache or
>> a mysql master/master system.
>>
>> It can store complex data, has a system of subscribing to messages (a
>> little like an irc channel), can be have data persistence and would seem
>> to do a master/slave very well.
>>
>> The 'subscribe' feature would be great for telling OpenSIPS servers with
>> in the cluster about changes in status.
>>
>> Its disadvantage at this time is that it does not have a master/master
>> capability and there is no support for multiply 'redis' masters.
>>
>> For your thoughts
>> Mike O'Connor
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>   
>




More information about the Users mailing list