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-boun...@lists.opensips.org 
[mailto:users-boun...@lists.opensips.org] On Behalf Of Brett Nemeroff
Sent: Sunday, October 04, 2009 6:27 PM
To: users@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to