memcached debate

andrew at flypublishing.com andrew at flypublishing.com
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

end

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

On 4/20/07, Les Mikesell <lesmikesell at gmail.com> 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 gmail.com
>
>


More information about the memcached mailing list