There are only two hard things in computer science: Cache invalidation, naming things, and off-by-one errors.
You will never get something out of memcache that you did not put in there. If you have some sort of shared memcached cluster that a bunch of clients connect to, but different clients seem to get different data, you need to make sure that all clients have the same configuration of servers, and use the exact same key hashing. /Henrik On Mon, Aug 29, 2011 at 14:15, Cash <[email protected]> wrote: > Having an issue and hoping someone can help. Let me try and explain. > > We show inventory on both search results pages and detail pages. When > pulling up the results pages on some of our sites which utilize > memcache, we see a photo which is not the correct one. For example, > it will display photo number 10 out of 25, when it should show photo > number one. Then when clicking to the detail page for that same item, > it shows the correct photo (number 1). Then, when returning to the > results page, it shows the correct photo. This seems to happen at > random. > > Any ideas on how to fix this?
