Atomic write(atomic replace)

Saving a new version to a temporary name and renaming it into place, so a reader never sees half a file.

Back to the glossary