~/talk

Swift NIO, Vapor, and Server Concurrency

Talkat try! Swift NYC 2018 · on Wednesday, 2018-09-05· [swift, kubernetes]
slides:none on file

Explains why Swift NIO replaces a thread‑per‑connection model in Vapor, moving from POSIX threads and libdispatch blocking to an evented nonblocking I/O core that lets a single thread serve many connections, issue multiple external API calls concurrently, and avoid idle CPU while waiting for responses. Shows integration into Vapor 3, uses futures for asynchronous chaining, leverages built in HTTP and WebSocket parsers, and reports concrete gains in resource efficiency and ecosystem reliability.

AI-written summary · about

  1. 0:00Start
  2. 1:17IPHONE POWER
  3. 3:23IPHONE DEVELOPMENT
  4. 3:58SERVER DEVELOPMENT
  5. 7:51PHONE CONCURRENCY
  6. 9:06VAPOR 1.0
  7. 9:33P_THREAD
  8. 11:38VAPOR 20 - DISPATCH
  9. 12:56NON-BLOCKING I/O (NIO)
  10. 17:04FUTURES
~/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.