- React
- JS Kongress
- 2019
- Streaming HTTP and GraphQL
Streaming HTTP and GraphQL
See how to optimize network requests to minimize round trips without slowing down critical data paths.
Rob Richard at JS Kongress 2019
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.