Stop abusing your app cache!

1. Every key in the app cache can be expired at any time, not just at the expiration date.
2. Don't put things in the cache which, if expired, break your program.

Anything which breaks these rules doesn't live in the cache.

4
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Ronan Limon Duparcmeur

@nateberkopec “don’t cache stuff you depend on”, an advice only squirrels and developers fail to understand.

0
3mo
Cameron Dutro

@nateberkopec To quote one of my old managers, "Redis is not a database!!"

0
3mo
Kevin McPhillips

@nateberkopec It can help to put “disposable” in the name of the cache or host.

0
3mo
Brian Kephart

@nateberkopec Wait, you mean everyone else out there doesn’t occasionally flush the entire prod cache when troubleshooting?

0
3mo
Replies