memcached debate

andrew at andrew at
Fri Apr 20 22:15:15 UTC 2007

No, there are complex rules based on the viewer on how to assemble the
info.  It looks like this:

response = []
CACHE[1001].each do |item|

  response << CACHE[item]

  // recursively loop again over and over until a stopping point


So I'll be hitting CACHE[key] over and over and over...

On 4/20/07, Les Mikesell <lesmikesell at> wrote:
> It's not clear what you mean by 'look through them'.  Can't you turn
> whatever you would use to select what you want into keys (perhaps by
> hashing), then only retrieve exactly what you want instead of looking
> through things you don't need?
> --
>    Les Mikesell
>     lesmikesell at

More information about the memcached mailing list