3 ms·
prove that with sufficient caching you can serve arbitrarily large numbers of requests with arbitrarily slow languages I love the way that's worded, but I do h
by mdasen 18y ago
prove that with sufficient caching you can serve arbitrarily large numbers of requests with arbitrarily slow languages
I love the way that's worded, but I do have a serious question: how do you do the caching in a way that keeps content fresh? For example, you couldn't just cache this page with the comments because then I'd think mine didn't show up. Or do you add it to a comments cache in memcached or some similar mechanism as well as saving it to the database? Or simply expire the cache on save assuming that there will be more reads than writes?
It's always seemed hard to do good caching for a site whose content is constantly changing as people comment and vote on items and it'd be nice to see how complex the model used here was. The latest source I know of is at http://ycombinator.com/arc/arc2.tar http://ycombinator.com/arc/arc2.tar. Will there be an update with new source?
Oh, and congratulations on an awesome site!