logo
episode-header-image
Oct 3
41m 12s

Postgres 18 gets Async IO

Hussein Nasser
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

Up next
Today
CPU and Kernel Page Faults
<p>Page faults occurs when the process tries to access a memory that isn’t backed by a physical page kernel raises a fault which loads a page. It happens on first access, stack expansion, COW, swap and much more. However it comes with a cost. </p><p><br /></p><p>In this episode o ... Show More
48m 37s
Oct 31
Amazon US-EAST-1 Outage in Details
On October 19 2025 AWS experienced an outage that lasted over a day, 10 days later we finally got the root cause analysis and we know exactly what caused the DNS to fail0:00 Summary 5:30 How did Dynamo lost its DNS?13:41 EC2 Errors 16:16 Network Load Balancer ErrorsRCA here https ... Show More
24m 26s
Oct 17
Graceful shutdown in HTTP
There are cases where the backend may need to close the connection to prevent unexpected situations, prevent bad actors or simply just free up resources. Closing a connection gracefully allows clients and backends to clean up and finish any pending requests. In this episode of th ... Show More
25m 49s
Recommended Episodes
Nov 2024
589: 6 Reasons to Love Linux 6.12
<p>The Linux 6.12 kernel isn't just another update — it's a game-changer that deserves our full attention, from performance improvements to fascinating new features.</p><p>Sponsored By:</p><ul><li><a href="https://jupitersignal.memberful.com/checkout?plan=117630r" rel="nofollow"> ... Show More
1h 13m
Jan 2017
Late Night Linux – Episode 01
In Episode 01 of Late Night Linux we talk about Desktop Linux market share, KDE Neon, Ubuntu Touch, what we think will happen in 2017, CyanogenMod becoming Lineage OS and loads more.   News 3% market share on the desktop? Goodbye to GNU Libreboot KDE Announces SystemdGenie, a Gra ... Show More
1h 16m
Jun 2024
567: So Long sudo
Your Linux box is a-changin'. systemd has a huge new release; we'll get into the most impressive features, including the new sudo replacement. Plus, our thoughts on the new Linux Arm laptops that are just around the corner.Sponsored By:Core Contributor Membership: Take $1 a month ... Show More
1h 31m
Mar 2025
605: Goodbye World
<p>We are digging into a superpower inside your Linux Kernel. How eBPF works, and how anyone can take advantage of it.</p><p>Sponsored By:</p><ul><li><a href="http://tailscale.com/linuxunplugged" rel="nofollow">Tailscale</a>: <a href="http://tailscale.com/linuxunplugged" rel="nof ... Show More
53m 43s
Aug 2024
SE Radio 630: Luis Rodríguez on the SSH Backdoor Attack
<p><strong>Luis Rodríguez</strong>, CTO of Xygeni.io, joins host <a href="https://se-radio.net/team/robert-blumen/" target= "_blank" rel="noopener">Robert Blumen</a> for a discussion of the recently thwarted attempt to insert a backdoor in the SSH (Secure Shell) daemon. OpenSSH i ... Show More
44 m
Jun 2024
SE Radio 621: Xe Iaso on Fly.io
<p><strong>Xe Iaso</strong> of Fly.io discusses their hosting platform with host Jeremy Jung. They cover building globally distributed applications with Anycast, using Wireguard to encrypt inter-service communication, writing custom code to handle load balancing and scaling with ... Show More
47m 33s
Aug 2023
E28 - libgit2, source code management and edge computing
Edward Thomson is a fantastic software engineer, he’s currently the maintainer of libgit2: a pure C implementation of the git core methods provided as a linkable library with a solid API. libgit2 powers GitHub, GitLab, Azure DevOps and many other products. Ed is also a product ma ... Show More
1h 9m
Feb 2025
603: All Your Kernels Belong to Rust
<p>There have been major Rust developments in the Linux Kernel; we discuss what's new and how it will impact the future. Plus, we're joined by a special guest.</p><p>Sponsored By:</p><ul><li><a href="http://tailscale.com/linuxunplugged" rel="nofollow">Tailscale</a>: <a href="http ... Show More
1 h
Feb 2025
601: Taming the Demons
<p>It's week one of our FreeBSD challenge, and for one of us, that penalty Windows install looks uncomfortably close! Plus, Zach Mitchell joins us to update us on Planet Nix.</p><p>Sponsored By:</p><ul><li><a href="http://tailscale.com/linuxunplugged" rel="nofollow">Tailscale</a> ... Show More
1h 8m
Feb 2025
602: The BSD Humbling
<p>Our FreeBSD Challenge comes to a close, and chances are one of us will be paying the Windows tax.</p><p>Sponsored By:</p><ul><li><a href="http://tailscale.com/linuxunplugged" rel="nofollow">Tailscale</a>: <a href="http://tailscale.com/linuxunplugged" rel="nofollow">Tailscale i ... Show More
1h 7m