On Wed, 29 Jul 2009, blazah wrote: > > Hi, > What do folks do with the objects stored in memcached when a new > version of the software is deployed? There is the potential that the > data could be stale depending on the code changes so do people > typically just flush the cache?
Generally you know what's being changed when you roll out new code. If the format of some keys/values are being changed, you should intuitively know exactly how to handle it. The best method is to have code be intutive about getting back values it doesn't understand anymore, and being wary of changing the format of popular or high value keys. -Dormando