News for hackers. Stuff that matters.
Re:Building a highly-available web service without a database by Zak on Saturday August 10, 2024 @07:15AM (#41208718)
It just persists its in-memory data structures to disk. Here's the source of an old version; note uses of `diskvar` and `disktable`. A "table" here is just a hashtable.

https://github.com/wting/hackernews/blob/master/news.arc

There are no comments on this comment yet.