~/talk

The little server that could

Talkat RubyConf AU 2017 · on Friday, 2017-02-10· [ruby, web-platform]

Builds a tiny Ruby web server that actually opens an internet socket, binds and listens, accepts connections and writes HTTP responses via the Rack call convention; shows a real 5 second sleep to prove blocking on external API calls and then adds forked child processes to avoid serial waits; demonstrates why Ruby GC behavior breaks copy on write before Ruby 2 and how SIGINT trap lets the process shut down cleanly; honest about being slow, insecure and not production ready.

AI-written summary · about

  1. 0:00Start
  2. 1:44The Little Server That Could Can't
  3. 3:24Servers are an Abstraction
  4. 3:44Servers are not Magic
  5. 5:311. Interacts with the OS to talk to the outside world 2. Conforms to a specific API
  6. 7:32Literal "Spec" & Figurative "Spec"
  7. 12:55Defining our Socket: 1. Addressing Format 2. Kind of socket
  8. 17:261. The Outside World 2. The Application 3. You, the Developer
  9. 28:01Benefits of Threading: - Uses less memory -Threads die with process - Much faster to communicate
  10. 28:27GIL Global Interpreter Lock
~/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.