3 ms·
Would it be fair to say that the issue wasn't with closures and the web as much as it was with the specific implementation of closures in news.YC? [edited for
by icey 18y ago
Would it be fair to say that the issue wasn't with closures and the web as much as it was with the specific implementation of closures in news.YC?
[edited for grammar / clarity]
- pg 18y agoNot so much the implementation of them, but the fact that the site used so many. A crawler hitting some old item page with 20 comments on it would generate at least 40 new closures, 20 for the upvote links and 20 for the reply links. That adds up, now that there are almost 250k potential pages in the site.
- icey 18y agoThanks for the explanation - This is useful for those folks out there who are working with webservers that utilize continuations. There has been a ton of discussion surrounding stateless and session based web development, but a dearth of information regarding continuation based web development; especially as it relates to sites that get a reasonably high level of traffic.
- jmatt 18y agoI agree one way to fix it is through design.