~/talk

The Future of Efficiency Is Here: Add Planning to Your Schema!

Talkat GraphQLConf 2023 · on Wednesday, 2023-09-20· at 10:50· Grand Peninsula E· [frontend-architecture]
slides:none on file

A new execution engine called Graphast builds declarative plan resolvers and composable step classes that plan and batch work ahead of execution, eliminating N+1 by design and letting steps dedupe and optimize themselves. Version 0.1 is MIT licensed and on npm with a resolver compatibility layer for gradual adoption; PostGraphile v5 is a rewrite on it and a demonstrated SQL for the same query is one quarter the size and runs in half the time. Plans are cacheable per document and are already running in production.

AI-written summary · about

  1. 0:00Introduction to Graphast
  2. 1:26GraphQL inefficiency problem
  3. 2:26The N+1 problem and batching
  4. 4:28SQL efficiency comparison
  5. 5:38GraphQL execution model flaws
  6. 7:54How Graphast works
  7. 9:52Plan resolvers in TypeScript
  8. 11:57Step execution and batching
  9. 13:32Optimizing with lookahead
  10. 15:42Custom step lifecycle
  11. 16:57Advanced step optimization
  12. 18:30PostGraphile performance
  13. 20:24Graphast vs other techniques
  14. 21:45Adopting Graphast
  15. 22:49Project status and future
  16. 24:09Conclusion and sponsors
  17. 25:56Q&A session
~/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.