The Backend Engineering Show with Hussein Nasser
Postgres 18 gets Async IO

Postgres 18 gets Async IO

The Backend Engineering Show with Hussein Nasser

41:12

About this episode

Postgres 18 has been released with many exciting features such as UUIDv7, Over explain module, composite index skip scans, and the most anticipated asynchronous IO with worker and io_uring mode which I uncover in this show. Hope you enjoy it



0:00 Intro

1:30 Synchronous vs Asynchronous calls

3:00 Synchronous IO

6:30 Asynchronous IO

10:00 Postgres 17 synchronous io

17:20 The challenge of Async IO in Postgres 18

20:00 io_method worker23:00

io_method io_uring

29:30 io_method sync

31:08 Async IO isn’t done! 3

1:30 Support for backend writers

32:36 Improve worker io_method

33:00 direct io support

37:00 Summary

More from The Backend Engineering Show with Hussein Nasser

I discuss the state of what will be happening in the coming few years and why I encourage the 3 of you who want to be elite engineers to keep their critical thinking sharp. To pause and think before p…

9m

This is a conversation with Rashed Hasan, a PhD Candidate from the University of Nebraska. We chatted about databases, ORMs and how to use AI without losing yourself. Rashed pagehttps://www.mdrashedul…

56m

SQL was a mistake

I like SQL but the standard should have included ways to hint instead of the abstraction of "let me do it for you"

12m

In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out

15m