Ask HN: How Reddit and Hacker News store their news and comments?

1 points by martzom ↗ HN
I have some doubts about how Reddit and Hacker News manage to store such amount of news and comments while keeping all their rankings updated. I guess they must keep everything in memory using some kind of Tree structure, right? (news are parent of comments which are parent of other comments, etc.). Do they keep all news in memory? or just the last ones? do they constantly update all news ranking? or just the last ones? Hope you can help me. Thanks!

5 comments

[ 4.1 ms ] story [ 20.6 ms ] thread
(comment deleted)
(comment deleted)