~/talk

Query Planning in GraphQL

Talkat Scale By the Bay 2020 · on Thursday, 2020-11-12· at 23:15· functional, Online· [graphql, api-design]
slides:none on file

Implements a reusable query planner for GraphQL Java that statically builds merged-field vertices, expands abstract types into concrete variants, and topologically sorts dependencies into execution buckets. It enforces mutation ordering via added edges, evaluates include/skip conditionals at runtime, and runs cost analysis on the same plan. Example: prefetching a friends vertex drops a computed cost from 16 to 10 points (described as 1600ms → 1000ms). Intended to be open sourced around March and used to drive prefetching, orchestration and subscriptions.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Agenda
  3. 1:55Example schema
  4. 3:07Example query
  5. 14:31Query plan
  6. 15:35Merged fields
  7. 18:53Abstract fields
  8. 19:52Conditional fields
  9. 21:08Mutation fields
  10. 24:13Cost analysis
  11. 31:26Query execution optimization
  12. 36:07Other possibilities
~/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.