Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the groundbreaking asynchronous IO capabilities introduced in PostgreSQL 18 through this comprehensive backend engineering show. Dive deep into the fundamental differences between synchronous and asynchronous calls, examining how traditional synchronous IO operations work before transitioning to the revolutionary asynchronous IO implementation. Learn about PostgreSQL 17's synchronous IO limitations and understand the technical challenges that PostgreSQL 18's asynchronous IO features aim to solve. Discover the three distinct io_method options available: worker mode for improved performance, io_uring mode for Linux-based systems, and the traditional sync mode for compatibility. Examine the current limitations of async IO implementation and explore future developments including support for backend writers, improvements to the worker io_method, and direct IO support. Gain practical insights into how these new features can enhance database performance and understand the technical architecture behind PostgreSQL's most anticipated asynchronous IO functionality with detailed explanations of worker and io_uring modes.
Syllabus
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 worker
23:00 io_method io_uring
29:30 io_method sync
31:08 Async IO isn’t done!
31:30 Support for backend writers
32:36 Improve worker io_method
33:00 direct io support
37:00 Summary
Taught by
Hussein Nasser