Sanity check please! PHP/memcached strategy

Brian Moon brianm at dealnews.com
Sat Oct 27 01:58:34 UTC 2007


> does anyone have any example code when dealing with lists like this?
> just build an array of IDs, and then do some sort of
> asset_multiget($array) which does a cache_multiget of the IDs, ...
> hmm. that gets confusing then. because i will need to track
> hits/misses. that's why i think i liked the single row approach,
> because hits and misses can be mixed and i am none the wiser...
> 
> i'd be curious (and grateful) to see anyone's approaches which seem
> appropriate to deal with a multiple get/multiple row matches...

I just posted code that does just this like 3 days ago.  Check the archives.

-- 

Brian Moon
Senior Developer
------------------------------
http://dealnews.com/
It's good to be cheap =)


More information about the memcached mailing list