Ask HN: What database does HN use?
I've looked at the arc source for HN at
https://github.com/nex3/arc/blob/master/news.arc
and don't see any references to a persistence layer.
https://github.com/nex3/arc/blob/master/news.arc
and don't see any references to a persistence layer.
The data is stored in files, but there is a lot of caching done to make everything fast.
;For some reason vote files occasionally get written out in a
;broken way. The nature of the errors (random missing or extra
;chars) suggests the bug is lower-level than anything in Arc.
;Which unfortunately means all lists written to disk are probably
;vulnerable to it, since that's all save-table does.
I wonder if/how they have fixed this.