Optimizing GraphQL Performance Tips and Techniques: Patrick Arminio

  Рет қаралды 483

PyCon UK

PyCon UK

Жыл бұрын

In this talk, we'll explore techniques to optimize GraphQL performance for snappy, scalable, and resource-efficient APIs. Attendees will learn about batching queries with DataLoader, managing query complexity and depth, leveraging persisted queries for reduced network overhead, and implementing caching strategies on both server and client-side.
API performance is crucial for delivering a smooth and responsive user
experience. GraphQL has gained popularity as a flexible and efficient query
language, but without proper optimization, it may underperform or even become a bottleneck in your application.
In this talk, we'll dive into the essential techniques and best practices to
optimize GraphQL performance, ensuring that your APIs are snappy, scalable, and resource-efficient. Attendees will learn:
The importance of batching queries and how to implement it using DataLoader or similar libraries.
The concept of query complexity and depth, and how to set up limits to prevent resource abuse.
Leveraging persisted queries to reduce network overhead and improve caching capabilities.
Implementing caching strategies, both on the server and client-side, to
minimize redundant requests and reduce load times.
Exploring monitoring and observability tools that can help you identify
performance bottlenecks and continuously optimize your GraphQL implementation for maximum efficiency.
Patrick is a Developer Advocate at Apollo GraphQL. He created Strawberry, a python library that makes it easy to create GraphQL APIs using type hints

Пікірлер
GraphQL Crash Course #1 - What is GraphQL?
10:42
Net Ninja
Рет қаралды 250 М.
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 32 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 74 МЛН
Flipping Robot vs Heavier And Heavier Objects
00:34
Mark Rober
Рет қаралды 59 МЛН
Why you should consider using persisted queries with GraphQL
17:21
ChilliCream
Рет қаралды 4,5 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 86 М.
Vendure Dev Diary: May 24 - GraphQL Done Right
12:16
Vendure Headless Commerce Platform
Рет қаралды 805
The Do’s and Don’ts for your schema and GraphQL operations
24:46
Apollo GraphQL
Рет қаралды 21 М.
GraphQL vs REST: What's The Difference And When To Use Which?
26:57
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 195 М.
8 React Js performance optimization techniques YOU HAVE TO KNOW!
11:23
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 32 МЛН