3 ms·
Not a good answer for application servers. You can lose data in between the application issuing the write and the disk persisting it, and in between persistence
by Pyxl101 11y ago
Not a good answer for application servers. You can lose data in between the application issuing the write and the disk persisting it, and in between persistence and backup.
The absence of data corruption doesn't necessarily mean the presence of all data either. Imagine a fleet of application servers that write several times per second and there are hundreds of them. How would you know if one write had gotten lost in a power failure?
The best available answer among folks who need one is to pass all writes through a distributed system that can commit the data durably: data replicated in real time as part of the process of committing a write, the metadata tracked with a quorum or lock managed by quorum.