Video details

GraphQL Performance and Monitoring - Ankita Masand, GraphQL Galaxy 2021

12.08.2021
English

GraphQL Galaxy 2021 #GraphQLGalaxy #GraphQL #GitNation Website – https://graphqlgalaxy.com/
Follow the link to watch the full version of all the conference talks, QnA’s with speakers and hands-on workshop recordings → https://portal.gitnation.org/events/graphql-galaxy-2021
Talk: GraphQL Performance and Monitoring
GraphQL abstracts the downstream API calls from the frontend and all that frontend has to do is request fields in a query that are required for the rendering of the component. The frontend is not aware that a corresponding field might result in an API call or heavy computations on the backend side. This abstraction hits the performance when the GraphQL schema is not structured properly. Let's take an example to understand more: Here's the query to get available rooms for a hotel: hotel (id: $hotelId) { id rooms { id type name } } The frontend doesn't know that the `rooms` field inside the query `hotel` will fire another API call and even `type` field would be fetched from another API endpoint. These nested API calls worsen the performance if there are more rooms. We can effectively solve this by structuring the schema well and using data loaders.
This event would not take place without the support of sponsors:
🏆 Platinum Sponsors The Graph → https://thegraph.com/en/ GraphCMS → graphcms.com Neo4j → https://neo4j.com/
🥇 Gold Sponsors StackHawk → https://www.stackhawk.com/ Layer0 → www.layer0.co GraphCDN → https://graphcdn.io/
Shopify → https://shopify.engineering
Yugabyte → https://www.yugabyte.com/ NeuraLegion → https://www.neuralegion.com/ StepZen → https://stepzen.com/ Tyk → https://tyk.io/ Apollo → https://www.apollographql.com/ Fauna → https://fauna.com/ Nhost → https://nhost.io/
🥈 Silver Sponsors
Stream → https://getstream.io/