~/talk

Dynamic Routing with Circuit

Talkat Rubyfuza 2013 · 2013-02-01..02-03· [ruby, web-platform]
links:none on file
slides:none on file

Circuit is a Ruby gem that lets a single Rack server route many domains to different Rack apps and middleware, configured at runtime from a datastore. It uses a cru file and a Site/Node model (Mongoid example shown) to map hosts and aliases to behavior classes, includes a request rewriter to forward paths into downstream Rails routes, and runs in production at about 30-40k requests/day. Current back ends are in-memory and MongoDB, Redis and ActiveRecord adapters are requested.

AI-written summary · about

  1. 0:00Start
  2. 5:30Add New Domains
  3. 9:40Rack Middleware
  4. 9:53What Rack Middleware Is
  5. 13:38Push Notification Updates
  6. 16:09Code Example
  7. 18:23Model for a Site
  8. 21:07Behavior Class
  9. 22:56Rewriter
~/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.