~/talk

Creating a Sender/Receiver HTTP Server for Asynchronous Operations in C++

Talkat ACCU 2024 · 2024-04-17..04-20· [networking]
links:none on file
slides:none on file

Builds a working asynchronous HTTP server using the sender/receiver framework with a coroutine task and an async scope, running multiple clients on a single thread via an IO context. Uses the SD exec implementation (stexac by NVIDIA) and a minimal networking sender proposal, implements read/resize logic, a five second timeout that cancels stalled connections, and a shutdown endpoint. Demo compiles with a few minor bugs but completes a basic server and a client in about 40 minutes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Motivation for HTTP server
  3. 3:46Asynchronous server design
  4. 8:23Coroutine server skeleton
  5. 13:48TCP listener with coroutines
  6. 21:01Async client connections
  7. 24:30Incremental HTTP parsing
  8. 31:06Request processing and responses
  9. 35:19Sender performance optimizations
  10. 40:51Timeout for connections
  11. 53:20Clean server shutdown
  12. 1:06:19Simple HTTP client
  13. 1:19:44Q&A
~/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.