Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

GraphQL - The Devil's API

PyCon US via YouTube

Overview

Explore the advantages and potential pitfalls of GraphQL compared to traditional REST APIs in this 37-minute PyCon US talk. Learn how to leverage data-loaders, async/await, dynamic query generation, and other performance optimizations to create a flexible, performant interface for front-end services. Discover techniques to address the n+1 query problem and navigate GraphQL's idiosyncrasies. Dive into topics such as query language, schema design, database integration with SQL Alchemy, and GraphQL libraries. Gain insights on latency management, Python implementation, and the mathematics behind GraphQL operations. Witness a live demo showcasing best practices and learn when to use GraphQL effectively. Conclude with a discussion on query counters and information about GraphQL meetups.

Syllabus

Intro
Outline
What is GraphQL
Query Language
GraphQL Schema
GraphQL Database
SQL Alchemy
GraphQL Libraries
GraphQL Models
Latency
Python Code
The Math
Data Loader
Data Loader Complexity
Promises
Dataloader
Demo
Bad GraphQL
When to use GraphQL
Query Counter
Shoutouts
Meetups

Taught by

PyCon US

Reviews

Start your review of GraphQL - The Devil's API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.