The Backend Engineering Show with Hussein Nasser cover image

Your SSD lies but that's ok | Postgres fsync

The Backend Engineering Show with Hussein Nasser

00:00

The Power of Order

If you enable this f sync, you can delay all this wall writing. The database better know or the app in this case, better know what it's doing. There is one final option in postgres that I forgot to mention: You can turn F sync off altogether and write directly to memory. When I say memory, God, what is memory anymore? Right? Is it the buffer shared buffer? Or is it the page cache?"

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner