[OpenSIPS-Users] Global Variables
Alex Massover
alex at jajah.com
Mon Oct 5 11:36:54 CEST 2009
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 :)
--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091005/8e937c9f/attachment.htm
More information about the Users
mailing list