~/talk

GraphQL at Facebook

Talkat ReactEurope 2016 · on Tuesday, 2016-05-31· [graphql]

Facebook claims 300 billion queries a day and a schema of nearly 10,000 types. The stack centers a single source of truth: objects expose a canonical gen(viewer,id) that enforces authorization by returning null for unreadable items, enables batching via DataLoader to avoid N+1 round trips and provides server-side caching, and emits opaque global IDs (base64 of type:localid) that let clients cache and refetch without learning backend details.

AI-written summary · about

  1. 0:00Start
  2. 3:28GraphQL: How?
  3. 4:07How do I make GraphQL efficient?
  4. 4:38Facebook's GraphQL Stack
  5. 5:48Think Graphs, not Endpoints
  6. 8:43Business Logic
  7. 9:13What is a Todo Item?
  8. 10:48Implementing Authorization
  9. 14:43Authorization in GraphQL
  10. 17:19Efficiency
  11. 18:41Implementing Batching
  12. 19:03DataLoader
  13. 20:42Caching
  14. 22:46What do we want in IDs?
  15. 23:07Refetch Identifier
  16. 25:48Single Source of Truth
~/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.