~/talk

Surrounded by Microservices

Talkat EuRuKo 2019 · 2019-06-21..06-22· [ruby-on-rails]
slides:none on file

Netflix Studio becomes a suite of 50+ apps after decomposing a Rails monolith that once had ~30 developers and >300 DB tables, and the architecture centers on hexagonal architecture to keep business logic independent of persistence. Entities use dry-struct, repositories wrap swappable data sources (ActiveRecord, REST, gRPC) and interactors use the interactor gem with dependency injection so unit tests mock repositories while integration tests use VCR and generated clients from swagger code generator. Alerts trigger at ~20% downstream failure; the approach works and delays big infrastructure choices.

AI-written summary · about

  1. 0:00Start
  2. 5:52The Active Record Pattern
  3. 6:43Persistence Layer
  4. 8:11Core Concepts
  5. 8:44Repositories
  6. 8:56Data Sources
  7. 9:23Interactors
  8. 9:51Entities
  9. 16:08Errors
  10. 16:45Graceful Failure
  11. 18:24Alarm Fatigue
  12. 19:54Alternatives
  13. 23:23Purpose of Good Architecture Is To Delay Decisions
  14. 24:05Testing Strategy
  15. 24:33Rails Testing Look like
  16. 25:58Integration Specs
  17. 26:58Conclusion
~/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.