<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Does the web servers do all the set()'s ? If you need tens of<br>thousands of values set and get per request, then yes - you
<br>definitely need to aggregate them.</blockquote><div><br>Yes, all of the web servers will be independently running set / get operations. So, the "easy" way to code my example is:<br><br> var1=20070412185933613883000000
<br> var2=20070412185952675260000000<br> ... <br> var300000=20070412190015441272000000<br><br>But the most efficient way considering the memcache protocol / storage / etc:<br><br> var1=20070412185933613883000000,20070412185952675260000000,... (up to 1MB of data)
<br><br>Does that seem correct? <br><br>I've noticed there is the mc_aget() for grabbing multiple keys per get -- is there something similar for setting multiple variables? I'm guessing I could hack together a struct of all these variables to make the process easier, is that the common usage for this particular situation?
<br><br><br></div></div>Thanks for all the help!<br><br>--Cal<br clear="all"><br>-- <br>Cal Heldenbrand<br> FBS Data Systems<br> E-mail: <a href="mailto:cal@fbsdata.com">cal@fbsdata.com</a>