~/talk

From Rails to the Web Server to the Browser

Talkat RailsConf 2013 · 2013-04-29..05-02· [ruby-on-rails, web-platform]
github:dabit
slides:none on file

Shows exactly how an HTTP request travels from browser to Rails and back, walking through Rack’s three-element contract, Thin’s EventMachine connection, and the C-based mongrel parser. Builds a tiny EventMachine server that parses raw requests, calls the Rack application, formats the HTTP response and proves it by mounting a mounted Rails app and running a test that passes. Defaults like listening on port 9292 appear and the homemade server works end to end.

AI-written summary · about

  1. 0:00Start
  2. 1:31MagmaConf
  3. 6:44rackup
  4. 7:30All Rails apps are Rack apps
  5. 14:38Down the Rabbit Hole
  6. 15:15thin start
  7. 17:13EventMachine
  8. 19:13Thin::Request
  9. 19:23lib/thin/request.rb
  10. 19:42Mongrel Parser
  11. 22:54Unicorn
  12. 25:24Our own Webserver
  13. 29:55Be curious
~/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.