~/talk

An Iterative Approach to Service Oriented Architecture

Talkat RailsConf 2014 · 2014-04-22..04-25· [microservices]
slides:none on file

Iterative extraction from a large Rails app yields a clear recipe: isolate the data, extract a Ruby client and adapters, then lift a minimal server. Work uses Ruby, ActiveRecord, Postgres, Sinatra and Oj, Foreman/Subcontractor, Sidekiq and feature flags. A saves service starts as one DB table moved to a replica with ~5 minutes downtime, client-first adapters let a later HTTP service swap in, and a login service ships in ~3 months; the nine‑month, 6–8 engineer data service proves feasible but costly.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Why should you care
  3. 1:32Why is Whitney Lowe important
  4. 1:59Open Source
  5. 2:51Antipattern Gold Mine
  6. 4:46Overtime
  7. 5:35DevOps
  8. 7:07Take a firm stance
  9. 7:25Throw shit
  10. 8:47Were gonna fail
  11. 9:03Sidetrack
  12. 9:34Scale
  13. 12:10Engineering
  14. 12:20Success
  15. 14:11Engineering like this
  16. 14:22Three months
  17. 14:35What is success
  18. 14:54Why SOA
  19. 15:44Trust
  20. 16:07What we learned
  21. 17:15What an SOA is not
  22. 17:50Performance
  23. 18:15When it becomes a problem
  24. 20:17One problem
  25. 20:35ActiveRecord
  26. 21:12EstablishConnection
  27. 21:31Testable
  28. 23:12Service
  29. 23:50Saves
  30. 24:21Remove redundancy
  31. 24:43How do we pull it out
  32. 25:01So we use the module
  33. 25:12Save Client
  34. 25:26Database Adapter
  35. 25:55Product Adapter
  36. 26:10Active Record
  37. 28:20Server
  38. 28:46Client
  39. 29:06Sinatra
  40. 29:27Service Adapter
  41. 29:37HTTP Adapter
  42. 30:49Unit Tests
  43. 31:34SubContractors
  44. 32:01What about a new app
  45. 32:11Focus on organizing your code
  46. 33:05Feature flags
  47. 33:43Inter integrating
  48. 34:50Conclusion
~/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.