Facebook presentation on GraphQL Event-based Subscriptions


Live from React Europe (no replay yet):




Subscription payload:


  • Throttling
  • Batching
  • Logging & debugging
  • GraphiQL

Facebook use-cases:

  • Live likes & comments
  • Sports updates
  • Message being typed

Edit: This was new to me (and was presented as something new), but is actually old news: http://graphql.org/blog/subscriptions-in-graphql-and-relay/


Yeah this is old news - the first half of the talk was totally new stuff about live queries and streaming results, something Apollo will hopefully be able to take advantage of as soon as possible!

I’ll write a post about how the live, defer, and stream directives might work in Apollo soon!