Recently, we had an interesting issue where we ran into some performance issues in our Redis clusters. After a lot of time spent debugging and testing we were able to reduce Redis’s memory use in some of our clusters by up to 25% with changes to key expiration. Internally Twitter runs multiple cache services. One of them is backed by Redis. Our Redis clusters store data for some Twitter’s most imp
![Improving key expiration in Redis](https://cdn-ak-scissors.b.st-hatena.com/image/square/a7dfbba80c1b2e3d08e53178d335285f8dc68548/height=288;version=1;width=512/https%3A%2F%2Fcdn.cms-twdigitalassets.com%2Fcontent%2Fdam%2Fblog-twitter%2Fengineering%2Fen_us%2Fmain-template-assets%2FEng_EXPLORE_Pink.png.twimg.768.png)