Synthetic example: why a cache needs a size limit
Human
If a cache makes lookups faster, why not let it keep everything?
Follow-up
So reaching the limit should remove something, rather than refuse every new item?
1 min · 2 human messages
The collection
Find a subject that interests you. Read the human messages, AI replies, and follow-ups in the order they happened.
We’re building the collection. For now, every conversation below is an illustrative example, not a real community submission.
If a cache makes lookups faster, why not let it keep everything?
So reaching the limit should remove something, rather than refuse every new item?
We added a second server, but our application is still slow. Why?
What should we measure before adding a third?
Why can’t we divide by zero?
But zero divided by zero is different, isn’t it?
Can something be useful but have a low price, or no price at all?
So how would I decide whether a paid version is worth it?