Even if the OS writes it to disk there is the possibility of failure due to lazy writes by the drive itself. Which is why you need full fsync- which is coordinated all the way down. It is also many orders of magnitude slower. See this for performance difference details https://github.com/robaho/cpp_leveldb?tab=readme-ov-file#performance On Apr 16, 2025, at 6:09 PM, Karel Bílek <k...@karelbilek.com> wrote: -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/019AC13F-8A75-4A8C-A9F9-B7A3DE9DA8D8%40ix.netcom.com. |
- [go-nuts] Should os.WriteFile call Sync... Karel Bílek
- Re: [go-nuts] Should os.WriteFile ... Robert Engels
- Re: [go-nuts] Should os.WriteF... Robert Engels
- Re: [go-nuts] Should os.WriteF... Karel Bílek
- RE: [go-nuts] Should os.Wr... 'Bushnell, Thomas' via golang-nuts
- [go-nuts] Re: Should os.WriteFile ... 'Brian Candler' via golang-nuts
- [go-nuts] Re: Should os.WriteF... twp...@gmail.com