As far as I know, HN uses no DB and just writes all data to plain text files.
Does this still hold true?
Is there a description of the layout somewhere? I wonder if it is just one file per comment and the name is the id. And what the internal structure of those files is.
I think it would be a very interesting example of a successful Web2 style project that writes to files instead of using a DB.
https://github.com/arclanguage/anarki/blob/master/apps/news/...