~/talk

Nitty Gritty Service Building

Talkat RubyConf AU 2015 · 2015-02-04..02-07· [microservices, ruby-on-rails]
slides:none on file

Provides a concrete recipe for extracting a service from a Rails monolith: build a new payment API, dogfood a client packaged as a gem, and sever dependencies by extracting tables to a separate DB. Uses Active Model Serializers for stable payloads, wraps HTTP with Typhoeus for concurrent requests, and profiles with perf tools / stackprof to find hotspots (coupon calculator hogs ~21.5% of time, GC ~67%). Tests act as a contract and the extraction succeeds, cutting test suites and improving responsiveness.

AI-written summary · about

  1. 0:00Start
  2. 0:16What Is a Service
  3. 1:43Faster Tests
  4. 6:39Multiple Objects per Request
  5. 8:54Client Models
  6. 9:20Rapid Prototyping
  7. 11:17Building a Communication Layer
  8. 13:37Sever Dependencies
  9. 15:29Improving the Performance
~/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.