Skip to content

Glossary: System Design Basics in Go

fsync (File.Sync)

Also written: f.Sync, Sync, sync to disk

Asking the operating system to push a file's data onto the physical disk and wait. It is the slow step that batching reduces.

Where the book teaches it

Related terms

batchingbufio.Writer