Request and Response
summary
Examines Rails request/response internals and shows a working Ruby HTTP/2 server integrated into Webrick and Rails, using event listeners to convert connections into request/response objects. Demonstrates concrete problems: long Rack middleware stacks, mutable-string allocations, and the brittle array-based response API. Implements server push via view helpers to push assets and reports real-world gains (around 200 ms faster first requests in one slow app).
AI-written summary · about
chapters (18)
- 0:00Introduction and self-introduction
- 2:14HTTP/2 overview and benefits
- 7:20Rack middleware stack explained
- 15:02Middleware stack issues and complexity
- 20:31Problems with Rack API design
- 21:33Implementing HTTP/2 in Ruby server
- 23:43Integrating HTTP/2 into Rails
- 25:27Performance impact of HTTP/2
- 25:47Q&A session begins
- 26:09DS9 naming and implementation details
- 27:20Rails compatibility and future plans
- 28:26Perceived speed improvements with HTTP/2
- 29:40Server push configuration in Rails
- 31:09Presentation preparation and language practice
- 32:14Japanese language proficiency and exam
- 32:38IPv6 support and DS9 code review
- 33:25Middleware rewriting for HTTP/2 compatibility
- 34:51Server push resource optimization








