Does Hacker News sort trending topics on-the-fly or as a scheduled task?
1–7 of 7 posts
Re: Does Hacker News sort trending topics on-the-fly or as a scheduled task?
#2I'd love to get to the point where we can sort everything on every request.
Re: Does Hacker News sort trending topics on-the-fly or as a scheduled task?
#3It reranks items incrementally. I'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.
Re: Does Hacker News sort trending topics on-the-fly or as a scheduled task?
#4It reranks items incrementally. I'd love to get to the point where we can sort everything on every request.
Do you have any source for this? I'd love to know more about how they re rank items incrementally. 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
Re: Does Hacker News sort trending topics on-the-fly or as a scheduled task?
#5It reranks items incrementally. I'd love to get to the point where we can sort everything on every request.
Do you have any source for this? I'd love to know more about how they re rank items incrementally. Do they actually update every single row in the database every 5 minutes? It seems too slow.
Re: Does Hacker News sort trending topics on-the-fly or as a scheduled task?
#6Earlier quoted context omitted.
Do you have any source for this? I'd love to know more about how they re rank items incrementally. Do they actually update every single row in the database every 5 minutes? It seems too slow.
HN doesn't use a database. There are no rows. Just one process on one server with everything in memory. Data is lazy loaded from flat files on-demand.
Re: Does Hacker News sort trending topics on-the-fly or as a scheduled task?
#7Earlier quoted context omitted.
Do you have any source for this? I'd love to know more about how they re rank items incrementally. Do they actually update every single row in the database every 5 minutes? It seems too slow.
HN doesn't use a database. There are no rows. Just one process on one server with everything in memory. Data is lazy loaded from flat files on-demand.