~/talk

Service Oriented Architecture at Square

Talkat RubyConf 2012 · 2012-11-01..11-03· [microservices, ruby]
slides:none on file

Square extracts services from a slow monolithic Rails app (183 controllers, 197 models) to cut an hour-long CI cycle by building small JRuby services packaged with jetpack packaged JRuby+Jetty so hosts only need a JVM. Development is documentation-driven development using FOC that fails the build if specs don’t match docs; local work uses Sinatra fakes started with Foreman to exercise integration. Style checks use Cane, monitoring uses Airbrake/Hoptoad and Cubism/Graphite, logs go to Splunk, and production security uses mutual SSL with OU-based ACL that returns 403 for unauthorized services.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32Risk Engineering at Square
  3. 2:54Service Oriented Architecture
  4. 3:52Demo
  5. 4:31Why use Java
  6. 5:27Payments Map Service
  7. 5:39Use Case
  8. 6:11Rails New
  9. 6:52JRuby
  10. 7:19Search Replace
  11. 8:33Payments API
  12. 8:56Example Response
  13. 9:18Using FDoc
  14. 9:41Scaffold Environment Variable
  15. 11:10Unit Testing
  16. 11:52Fake Services
  17. 12:29Rackup File
  18. 12:39Proc File
  19. 13:15Yamma
  20. 13:48Logs
  21. 14:19Code Quality
  22. 14:51Kane
  23. 15:38Cane
  24. 16:34Jetpack
  25. 17:21How it works
  26. 18:12Prerequisites
  27. 18:23Airbreak
  28. 19:16Exceptions
  29. 19:37Cubism
  30. 19:50Dashboards
  31. 20:10Bottle Rocketing
  32. 20:48Splunk
  33. 21:41Graphs
  34. 21:54Count by Action
  35. 22:41Security
  36. 25:03Access Control List
  37. 25:43API Controller
  38. 26:22Organization Unit
  39. 27:33ACL
  40. 27:50Questions
~/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.