logoalt Hacker News

senderistalast Monday at 10:53 PM1 replyview on HN

In practice, there must be a delay (from batching) if you fsync every transaction before acknowledging commit. The database would be unusably slow otherwise.


Replies

millipedelast Tuesday at 7:48 PM

Right, I think the lazy thing implies that it would happen post "commit" being returned to the client, but it doesn't need to be. The commit just needs to be wait for "an" fsync call, not its own.