~/talk

Splitting Your App

Talkat Ruby on Ales 2011 · 2011-03-24..03-25· [ruby, microservices]
slides:none on file

Claim: move the model layer into a slim API (Sinatra) and halve the app to get a big performance win and a public API. Implementation details: flexible_api + flexible_api_server and client libraries like constructor.rb (and JS/Objective‑C), git submodules to share model code, rack‑attack for rate limiting, ActiveRecord validations returning 422. Real result: deployed in production, mobile apps and external consumers use it after scaling from 30 to 850 accounts in three months.

AI-written summary · about

  1. 0:00Intro
  2. 1:38The Plan
  3. 3:57The Age of Innocence
  4. 4:41Asian Denial
  5. 5:02Relief
  6. 5:31Avoid duplicating logic
  7. 6:23Flexible API Server
  8. 9:06Builder
  9. 9:52API Server
  10. 11:24Documentation
  11. 12:20Constructor
  12. 13:58Gate Sub Modules
  13. 15:19Issues
  14. 16:25Wrapping Up
  15. 23:04Benefits
  16. 24:08The Constructor
~/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.