Nov 15th, 2013 is my file properly sync’ed on disk ? You probably know more or less how databases (or things that look like one) store their data on disk in a permanent and safe way. Or at least, you know the basic principles. Or not ? Being on AC(I)D There are a bunch of concepts that first must be understood: what is atomicity, consistency, and durability ? These concepts apply on databases (see ACID ), but also on the underlying filesystem. Atomicity: a write operation is fully executed at once, and is not interleaved with another one (if, for example,
Read full article from Everything You Always Wanted To Know About fsync() - xavier roche's homework
No comments:
Post a Comment