Other use cases
Other use cases
Posted Mar 3, 2026 13:03 UTC (Tue) by epa (subscriber, #39769)In reply to: Other use cases by danielkza
Parent article: The ongoing quest for atomic buffered writes
If you are using io_uring or another asynchronous API, where you request a write and get notified of its completion later, I would say that writethrough should arguably be the default. But you might want to get two separate notifications: the first for "the data has hit the cache and is now visible to read queries", the second for "the data has been written to disk".
