Streaming HTTP and GraphQL | Rob Richard
Channel: JS Kongress
Date: 2019-05-02

accessible for deaf/hearing-impaired: sign language interpreter (DGS) visible for complete duration + captions // slide collection https://buff.ly/2YLcPlA // Licence: CC BY-ND https://buff.ly/2TN3XIo
Why choose between fewer network requests and slower larger responses? This talk will show you how to optimize network requests to minimize round trips without slowing down critical data paths. We will cover rarely-used but widely supported features to efficiently load data to give your app the fastest possible rendering times.

This talk will answer the following questions:
- GraphQL can be used to minimize request round trips.
- Batched data transfer will be slowed down by the slowest data that is requested
- We can combine batched data transfer with streaming responses to get the best of both worlds (even in legacy browsers) without the overhead of managing socket connections.


more:
- https://graphql.org/ A query language for your API
- Explore together with Rob how to optimize a conference app thanks to GraphQL. 
- specification: https://graphql.github.io/graphql-spec/
-  optimize page loads with @defer and Apollo Server: https://blog.apollographql.com/introducing-defer-in-apollo-server-f6797c4e9d6e
- Code to fetch and parse MultiPart HTML Response https://github.com/relay-tools/fetch-multipart-graphql
- Laney Kuenzel & Lee Byron - GraphQL Future at react-europe 2016 https://www.youtube.com/watch?v=ViXL0YQnioU


Rob (@rob_richard) is a Front-End Engineering director at 1stdibs, a marketplace for rare and desirable goods, where he led the adoption of React, GraphQL, and Relay.


Sign up for our Newsletter to receive preview-links every other Thursday starting 2019, April 04: https://js-kongress.us13.list-manage.com/subscribe/post?u=9c3420f6b5269855b07422fb5&id=f490a69da5