Version your cache keys to survive rolling deployments(medium.com)
medium.com
Version your cache keys to survive rolling deployments
https://medium.com/dev-genius/version-your-cache-keys-to-survive-rolling-deployments-a62545326220
https://medium.com/dev-genius/version-your-cache-keys-to-survive-rolling-deployments-a62545326220
The solution: automatically derive version identifiers from model structure at startup, prefix cache keys with them. Schema changes naturally map to new cache namespaces.
Happy to discuss tradeoffs or alternative approaches!