~/talk

Going Serverless with GraphQL

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [graphql, serverless]
slides:none on file

Bustle moves nearly all production to AWS Lambda + API Gateway, reaching ~60 million monthly uniques and shrinking one metrics pipeline from ~$2,500/month to ~$400/month. Architecture uses Redis as primary store (connection limits and cold containers cause surprises), account concurrency defaults (100) and 5-minute Lambda timeouts force design changes, and testing/observability are hard. GraphQL sits on Lambda with DataLoader, GraphQL mutations for importing acquired Elite Daily data, and Relay for pagination and client patterns.

AI-written summary · about

  1. 0:00Intro
  2. 1:21The Hitchhiker's Guide to Serverless
  3. 2:36100% serverless
  4. 3:18there are still servers...
  5. 3:42servers platforms!
  6. 4:27business logic?
  7. 5:43servers platforms events!
  8. 7:24One API endpoint
  9. 8:24lambda api gateway ~$400/mo
  10. 8:53scales magically
  11. 10:01cold functions
  12. 10:35min max
  13. 10:46testing
  14. 11:33serverless framework node-lambda apex sparta
  15. 12:04Shep
  16. 12:17The Lambda Front End
  17. 13:39All In!
  18. 14:25Pop Quiz: Default max # of redis connections
  19. 15:25account level concurrency limit
  20. 16:15metrics security observability exception reporting
  21. 18:47Give me a vehicle
  22. 19:08Give me a car. With 6 seats. That is red. And has a bike rack. Include the bikes. Mountain Bikes. With tires.
  23. 21:23field resolution
  24. 21:37type User id: ID name: String url: String image: String
  25. 22:23data loader
  26. 24:07pagination clientMutationId partial data fetching mutation structure
  27. 25:35hint: use relay
  28. 26:12query complexity
  29. 27:29Facebook Monoculture
  30. 27:45Are facebook's problems your problems?
  31. 30:20Approaches...
  32. 30:43Read through Copy on Read/Write Dual Writes Replace
  33. 31:323. Import data with mutations
  34. 32:39Recap!
~/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.