~/talk

Abstracting a Service - A Case Study in Forward Thinking with SOA

Talkat Rubyfuza 2013 · 2013-02-01..02-03· [ruby-on-rails, microservices]
slides:none on file

A large Rails app with ~40 gems is split into three services: a users repo, a devices service, and a middleman that enforces per-user device rules, using Sinatra for lightweight endpoints. HTTP clients use Her + Faraday for ActiveRecord-like remote models; session proxy middleware forwards Rails session tokens for auth (a temporary but working solution). Tests use WebMock and VCR, uniqueness uses UUIDs for global IDs, and search/aggregation relies on Elasticsearch; the refactor reduces coupling and proves operational.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:30Problem with monolithic app
  3. 6:18Service-oriented architecture approach
  4. 8:44Choosing Sinatra and HTTP tools
  5. 10:13Authentication across services
  6. 11:58Handling object uniqueness
  7. 13:23Testing HTTP interactions
  8. 15:58Key learnings and best practices
  9. 18:29Documenting interfaces
  10. 19:42Q&A session
~/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.