> It's not a matter of memcached being bad, it's a matter of pulling
> only X items off the big list in order to perform more efficiently.
> Sometimes we want the entire list .. but also sometimes we just want
> to look at the last 10 and see if there are new items vs. pulling the
> entire list across the network and looking at only the top few items.

If you just need to know whether there's new items been added, can't you
simply store two values: one with the big list and one with a "timestamp"
containing the last update? So you get the timestamp value and if it's the
same as last time, don't do anything. If it's different, then store the new
timestamp, fetch the big list and off you go...

Dean.


Reply via email to