~/talk

Moving to GraphQL

Talkat rubyday 2020 · on Wednesday, 2020-09-16· [ruby-on-rails, graphql]
slides:none on file

A team turns a 460k LOC monolith with seven years of history and 400k users into a single Graph-like surface using a GraqhQL gateway and Apollo federation, keeping backends in Ruby backend services, splitting into nine schemas, solving n+1 with batching, and avoiding type reuse that leaks sensitive fields. Recommendations: prefer lists unless paging is probable, favor simple custom paging over connections, standardize filters/orders, and validate errors consistently. 460k LOC 400k users

AI-written summary · about

  1. 0:00Start
  2. 4:57History
  3. 10:50Basic Standardization Options
  4. 11:15Enum Usage
  5. 12:15Many to any Relationships
  6. 14:44Recommendations
  7. 17:29Mixed Levels of Abstraction
  8. 23:30Reuse Scalar Types
  9. 24:09Distribute Your Graphql Api
  10. 27:21Gradual Pattern
  11. 28:17Schema Stitching
  12. 32:27Apollo Federation
  13. 33:08Questions
  14. 39:24Are Your Graphql Implementations Usually in Ruby or Javascript
  15. 42:47Graphql Batching
~/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.