New user questions
Peter Van Dijck
petervandijck at gmail.com
Fri Apr 13 15:20:11 UTC 2007
I think there must be some misunderstanding. Ask said: "If you need
tens of thousands of values set and get per request", and Cal
answered: "Yes ..."
Cal, you don't need to set/fetch thousands of values on *each*
pageview, right? That would be very, very, very weird?
So if you don't have to get *all* those values on every request, then
your approach doesn't seem to make any sense?
Or perhaps I misunderstand something.
Peter
On 4/12/07, Cal Heldenbrand <cal at fbsdata.com> wrote:
>
> >
> > Does the web servers do all the set()'s ? If you need tens of
> > thousands of values set and get per request, then yes - you
> > definitely need to aggregate them.
>
> Yes, all of the web servers will be independently running set / get
> operations. So, the "easy" way to code my example is:
>
> var1=20070412185933613883000000
> var2=20070412185952675260000000
> ...
> var300000=20070412190015441272000000
>
> But the most efficient way considering the memcache protocol / storage /
> etc:
>
>
> var1=20070412185933613883000000,20070412185952675260000000,...
> (up to 1MB of data)
More information about the memcached
mailing list