Re:Sieve is simpler than LRU
by kazinator on Wednesday January 03, 2024 @08:06PM
(#38861891)
"Your specific workflow" is a myth. A cache designed for "your specific workflow" will be subject to completely unforseen workflows when put into production.
[ Parent
| on HN ]
While that's something to keep in mind, that's a reason for measuring tue effects and choosing accordingly, not a reason not to.
Otherwise on that basis you shouldn't put a cache in at all as there will be workflows where the hit rate is so low the cache has a negative effect, however unlikely.
If you don't know e.g. the rough performance profile of your requests, and the typical distribution of them, you likely have far bigger things you should be worrying about.