Does Hacker News sort trending topics on-the-fly or as a scheduled task?
I'm interested to know how they deal with massive amounts of data and still deliver blazing fast results.
When I go to https://news.ycombinator.com/, are the threads sorted on-the-fly or pre-computed every x minutes?
I found lots of information regarding the actual algorithm, but not how it is implemented.
6 comments
[ 2.9 ms ] story [ 23.0 ms ] threadI'd love to get to the point where we can sort everything on every request.
Do they actually update every single row in the database every 5 minutes? It seems too slow.
Dang--might be good to have some way to indicate that so new folks understand your special role in the community here