~/talk

GraphQL APIs: REST in Peace

Talkat Codemotion Milan 2017 · 2017-11-10..11-11· [graphql, microservices]
links:none on file
slides:none on file

Yelp replaces a three-endpoint, hundreds-of-fields API with a public GraphQL layer running on Python 3.6 and the graafian library on Pyramid, fronting a couple-hundred-service microservice backend. It solves the N+1 problem with per-request data loaders that batch many IDs (six business lookups become one bulk call), adds a Specter caching proxy that caches ID→value maps for bulk endpoints, enforces request budgets (example: 1000 ms) and node-based rate limiting plus middleware to cap resolver executions.

AI-written summary · about

  1. 0:00Start
  2. 0:42In the beginning
  3. 2:37Query The representation of data you want returned
  4. 3:38Our Setup
  5. 9:00The N+1 Problem
  6. 9:53Dataloaders!
  7. 12:23Considerations
  8. 14:35Service Caching
  9. 17:00Caching in Bulk
  10. 19:05Request Budgets
  11. 22:50GraphQL
  12. 23:45Node-based
  13. 24:33Field-based
  14. 25:33Securing the API
  15. 27:50Easy* failure handling and retries
~/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.