~/talk

Better Routing Through Trees

Talkat MountainWest RubyConf 2015 · 2015-03-09..03-10· [ruby-on-rails, web-platform]
slides:none on file

Argues that a routing tree (implemented as Ruby code) cuts duplicate setup and speeds routing; uses an open-source r10k benchmark at 10/100/1k/10k routes and shows Roa (named Roa in the slides) uses the least memory and is fastest among tree-based frameworks, with Roa-run test suites running ~50% faster than Sinatra and ~2× faster than Rails in migrated apps. Converts a real app: 79 routes, 36 branches, 25 branches share setup (70% elimination). Notes one tradeoff: loss of route introspection.

AI-written summary · about

  1. 0:00Introduction to routing
  2. 1:09Evolution of routing
  3. 4:38The routing tree concept
  4. 8:53Performance benchmarks
  5. 13:38Implementation complexity
  6. 15:54Integrating request handling
  7. 23:25Considerations and trade-offs
  8. 25:54Conclusion and Roda
~/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.