Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Json-Base – Database built as JSON files. Parent comment
1a. fsync() the file to ensure the contents are durable.
2. Do an atomic rename of that copy to the original.
2a. fsync() the directory to ensure the rename is durable.
1a. fsync() the file to ensure the contents are durable.
2. Do an atomic rename of that copy to the original.
2a. fsync() the directory to ensure the rename is durable.