Last update: Thu, Sep 22, 2011 at 10:49 AM.
Taking another look at caching in worldOutlineSuite.main. Last time I tried it, I ran into problems.
The goal is to handle an onslaught of hits to a single page that comes when a link gets tweeted.
-
1. If there are more than 25 elements in the cache, delete the cache. Keep it from growing too big, keep from caching things that aren't accessed much (no point).
2. If we reference an item that was cached more than 3 minutes ago, delete it. Makes sure things get recalc'd periodically.
I have this implemented on my server, worldoutline.scripting.com. I want to see how it performs and if there are glitches.