Hey Alex,<div>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.</div><div><br></div><div>Thanks,</div><div>Brett</div><div><br><br>
<div class="gmail_quote">On Mon, Oct 5, 2009 at 4:36 AM, Alex Massover <span dir="ltr"><<a href="mailto:alex@jajah.com">alex@jajah.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p><span style="font-size:11.0pt;color:#1F497D">Hi!</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Memcache with localcache (shared memory)?</span></p>
<p><span style="font-size:11.0pt;color:#1F497D">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 </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;color:#1F497D"></span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:10.0pt;color:#1F497D">--</span><span style="color:#1F497D"></span></p>
<p><span style="font-size:10.0pt;color:#1F497D">Best Regards,</span><span style="color:#1F497D"></span></p>
<p><span style="font-size:10.0pt;color:#1F497D">Alex Massover</span><span style="color:#1F497D"></span></p>
<p><span style="font-size:10.0pt;color:#1F497D">VoIP R&D TL</span><span style="color:#1F497D"></span></p>
<p><span style="font-size:10.0pt;color:#1F497D">Jajah Inc.</span><span style="font-size:11.0pt;color:#1F497D"></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On
Behalf Of </b>Brett Nemeroff<br>
<b>Sent:</b> Sunday, October 04, 2009 6:27 PM</span></p><div class="im"><br>
<b>To:</b> <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
<b>Subject:</b> [OpenSIPS-Users] Global Variables</div><p></p>
</div>
</div>
<p> </p>
<p>Hey all,</p><div><div></div><div class="h5">
<div>
<p>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.</p>
</div>
<div>
<p> </p>
</div>
<div>
<p>Thanks,</p>
</div>
<div>
<p>Brett</p>
</div>
<div>
<p> </p>
</div>
</div></div><p><br>
This mail was received via Mail-SeCure System.</p>
</div>
</div>
<br><br>
This mail was sent via Mail-SeCure System.<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>