Hacker News new | ask | show | jobs
by papersmith 5857 days ago
Personally I just sort everything in memory like reddit, since I need to traverse all branches to calculate weighed scores, which is a balance of vote counts and age. I think reddit/HN do something similar? I wonder how Disqus handles this.

I'm not really sure how to do that in SQL.