High Concurrent Ruby Web Development Without Fear
summary
Framework prototype turns synchronous Ruby web stacks into nonblocking servers by converting drivers like Redis and Sequel at runtime using fibers and heavy meta-programming, avoiding rewriting C drivers. Lightweight middleware flattens stacks to cut fiber memory pressure. Benchmarks show about 2–3k req/s single core for the example app, WebSocket roughly 2x faster than ActionCable, and an 8‑core cluster reaching ~60–70k req/s; roadmap targets HTTP/2 and ActiveRecord support.
AI-written summary · about
chapters (9)
- 0:00Introduction and background
- 2:55Defining the concurrency goal
- 5:29Analyzing Ruby performance
- 8:01The challenges of async Ruby
- 10:51Introducing the Midori framework
- 16:07Midori live demonstration
- 19:36Performance and future roadmap
- 25:30Community and project outlook
- 27:47Q&A session
related talks
28mReal-Time Rails
31mHigh performance APIs in Ruby using ActiveRecord and Goliath
28mBuilding in Rails, Backbone, and CoffeeScript
56mRails 4 and the Future of Web
32mLook Ma, No Sidekiq: A peek into async future
40mEvented Ruby vs Node.js
29mRealtime web applications with streaming REST
23mImplications of the Realtime Web
