~/talk

Writing High Performance Async IO Apps

Talkat RustCamp 2015 · on Saturday, 2015-08-01· [rust]
slides:none on file

MIO is a lightweight non-blocking IO event loop for Rust that implements the readiness model (epoll/kqueue) rather than Windows-style completion, choosing edge-triggered behavior by default. The library uses lightweight tokens and a preallocated slab to map thousands of sockets with almost zero runtime allocation. Example output is a proxy/HTTP server that copies data with a single 4K buffer per proxy path, runs one event loop per component, and farms heavy work to a thread pool; Windows support is incomplete.

AI-written summary · about

  1. 0:00Intro
  2. 0:15@CARLLERCHE
  3. 6:18COMPLETION
  4. 9:27WHICH TO PICK?
  5. 10:37ZERO COST ABSTRACTION
  6. 14:03EDGE TRIGGERED
  7. 14:56LEVEL TRIGGERED
  8. 18:28TOKENS
  9. 19:51WHY NOT CALLBACKS?
  10. 24:57MINIMIZE WORK ON EVENT LOOP THREAD
  11. 25:34COMPONENTS SHOULD ENCAPSULATE MIO
  12. 26:55WINDOWS?
~/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.