Altering queries?

K J sanbat at
Thu Sep 20 19:10:40 UTC 2007

  It sounds like it'd be cheaper and allow you to make better use of cache,
so I'd assume it's good.

> Being able to rely on a cache will impact your design and will generally
> be good.  I do some things very similar to this that involve grabbing some
> list-like data, and then fetching items related to items within the list.
>  As many as I can get come from cache, and the rest have to be fetched from
> the source, and then placed back into the cache.

How about storing the list of the user's friends in cache also?  The only
problem here though, is what if the user has tens of thousands of friends,
for instance?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list