Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is an “optimal” cache size to avoid returning obsolete results?

0
Posted

What is an “optimal” cache size to avoid returning obsolete results?

0

Caching is now more popular than ever. (See our add-ons page for some of the more popular caching programs.) In general, a 1-month cache isn’t bad in terms of redundant results, but a 7-day cache is much better. An “optimal” cache (minimizing the likelihood that a result will have already passed integrity testing before you return it), however, shouldn’t hold more than a 2 days of workunits. In the past, 1 month was pretty safe, but the ramifications of Moore’s Law have made the cache window much smaller. Keep in mind, of course, that excepting the above case, redundancy is extremely important for testing the integrity of our data. Interestingly, even without cacheing, users on average will receive a duplicate workunit (one they’ve processed before) about once every 500 times.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123