[OpenSIPS-Users] Global Variables

Brett Nemeroff brett at nemeroff.com
Mon Oct 5 14:18:05 CEST 2009


Hey Alex,I've just tried it with memcache and that works great.. Very fast..
just a little clumsy looking in the scripts; but otherwise works great.

Thanks,
Brett


On Mon, Oct 5, 2009 at 4:36 AM, Alex Massover <alex at jajah.com> wrote:

>  Hi!
>
>
>
> Memcache with localcache (shared memory)?
>
> As far as I understand you’ll not run into race condition, because there’re
> a locks at inside localcache hashtable. Also shared memory supposed to be
> very fast J
>
>
>
> --
>
> Best Regards,
>
> Alex Massover
>
> VoIP R&D TL
>
> Jajah Inc.
>
> *From:* users-bounces at lists.opensips.org [mailto:
> users-bounces at lists.opensips.org] *On Behalf Of *Brett Nemeroff
> *Sent:* Sunday, October 04, 2009 6:27 PM
>
> *To:* users at lists.opensips.org
> *Subject:* [OpenSIPS-Users] Global Variables
>
>
>
> Hey all,
>
> I'm wondering if there is a way to use global variables? I see that $var
> variables are persistent across the process, but I need something that will
> persist across all processes. Right now, I'm using memcache, but I'm not
> sure if I'll have race conditions relying on that as I expect many processes
> to be accessing and updating the globals for every call.
>
>
>
> Thanks,
>
> Brett
>
>
>
>
> This mail was received via Mail-SeCure System.
>
>
> This mail was sent via Mail-SeCure System.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091005/445f0dca/attachment.htm 


More information about the Users mailing list