[OpenSIPS-Users] arrays in memcache key implementation

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jul 14 16:44:04 CEST 2010


or store the array as single json value - see the json transformation:
    http://www.opensips.org/html/docs/modules/1.6.x/json.html

Regards,
Bogdan

Brett Nemeroff wrote:
> I've done something like this by populating the memcache value with a
> parseabke input (csv). Then I use the select transformation to step
> thru the values. It is a little clunky but works well and still seems
> really fast.
>
>
>
> On Jul 14, 2010, at 9:26 AM, Jayesh Nambiar <jayesh.voip at gmail.com>
> wrote:
>
>   
>> Hello All,
>> I tried out the memcache module and it works great while allowing
>> the script writer to reduce the DB Queries and making the processing
>> more efficient.
>> I was looking at something which holds more than one value in the
>> cache key. Is it possible to make the key hold more than one value?
>> Like a single key holding three values and the key type being an
>> array so that I can refer to the desired value among the three.
>>
>> While I was looking for this feature, I came across a similar
>> implementation in kamailio using htable module. Is something similar
>> available in opensips??
>> Any help will be really appreciated.
>>
>> Thanks in advance.
>>
>> --- Jayesh
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list