Tools & Open Source
This blog post does a deep dive into GraphQL performance by examining what GraphQL implementation is doing. The post explains parsing, validation, and execution of a GraphQL query, and how we can reduce performance overhead of the GraphQL API with precompiled queries and mutations. Although applications that use GraphQL can be slightly slower initially, this article provides some tips on how to tweak them to achieve better performance results.
In this presentation, James Lawrie from The New York Times shares the number of queries served, data received and served, and the large amount of types and fields in their schema in order to demonstrate how GraphQL has helped the company scale to their current size. Listen in on how they handled geo-targeting, schema directives, active cache invalidation, and more.
This talk discusses different state management that works well with GraphQL as well as how to use hooks to manage state. Shruti Kapoor explores the use of Redux along with GraphQL and the challenges, like immutability and the huge boilerplate. She demos using hooks with a React app that takes advantage of GraphQL to reduce the amount of data to state manage.
Guillaume Scheibel presents at Devoxx Belgium 2019 on how the engineering team at Expedia implemented GraphQL and improved its APIs functionality. The speaker breaks down the reasons why Expedia switched to GraphQL, the team’s challenges with REST, and the inconsistencies amongst types. He shares the architecture behind a cohesive API experience and live codes how to generate schemas from Kotlin types with the open source project GraphQL-Kotlin.