~/talk

Asynchronous I/O and coroutines for smooth data streaming

slides:none on file

Linux kernel io_uring + userland pipeline of C++20 coroutines turn UDP packet handling into chained single-thread loops that avoid callback hell. The demo submits four preposted reads per socket, reduces syscalls from thousands with poll/read to about 5,265 system calls for 20,000 packets (roughly one in four), trades a few lost packets for much lower overhead, and exposes real costs: custom promise/awaitable types, tricky error handling and cancellation, but functional end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 9:00Uring IO
  3. 13:45Multithreaded IO
  4. 14:35Better performance
  5. 20:00Coroutines
  6. 21:39Coroutine returns
  7. 25:39Promise type
  8. 30:05Coroutine
  9. 34:59Filter
  10. 38:19Recap
  11. 45:15Undefined behavior
  12. 50:16Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.