By Radosław Miernik · Published on 30 July 2024 · Comment on RedditTable of contentsIntroSimple enoughGood enoughFootgunsClosing thoughtsIntro
While mega corporations aim for caches consistent 99.99999999% of time, here I am, slapping another quick and dirty one just to solve a problem at hand. “But cache invalidation is a huge problem!” Well, it definitely is. That’s why we should always know what we are working with and what the constraints are.
When it comes to software performance, we have to know our goals as well as the possible solutions (including available technologies). As an example, if we could make something 10% faster within an hour or 30% faster in a week, I’d definitely go with the former. If needed, we’ll do the latter. If.Simple enough
Low-hanging fruits are everyone’s favorite, right? By definition, they give you some almost instant results and are – again, by definition – not too risky to reach for. How often do we reach for a semi-random 3rd party package or service to implement a proof of concept? I’d say it’s not a problem. But how often do we grow out of it and never have time to deal with it? Well…