Roda: The Routing Tree Web Framework
summary
Roda claims a routing‑tree design that routes by path segments instead of iterating routes, exposing methods like r.on and r.is and matchers (strings, symbols, regex) to run code during routing. Benchmarks use an r10k generator and show surprising results: r10k benchmark with 10,000 routes and a Hello World roughly 2.5× faster than Sinatra, integration tests ~50% faster, and much lower memory. Built plugins handle rendering, csrf, chunked responses, multiroute and a middleware plugin to mount Roda inside other apps, and namespace pollution is avoided by prefixed internals.
AI-written summary · about
chapters (5)
related talks
30mRoda: Simplicity, Reliability, Extensibility, Performance
28mBetter Routing Through Trees
30m10 Years of Roda
27mHanami::API
35mFrom Zero to App with Bridgetown: The Rapid Prototyping Framework
30mThe Power of Middleware - Building Your Own Mini Web Framework on Rack
28mNext Generation Ruby Web Appswith dry-rb, ROM, and Roda
27mDynamic Routing with Circuit
