3 ms·
Considering how most of the action on HN happens on the front page this site should be runnable on a little ARM SBC with good use of caching. If a site is mostl
by mysteria 2y ago
Considering how most of the action on HN happens on the front page this site should be runnable on a little ARM SBC with good use of caching. If a site is mostly static with content in RAM a weak VM or SBC can handle a lot of traffic.
I'm pretty sure HN already does this but each comment thread would basically be a pre-generated HTML file (served to all users) that is only updated by the server when people post or vote. If someone opens an old thread, then it would take longer to load since the system would have to query the DB, render the page, and put it in the cache.