Tagged: performance

Part 4: Batching With DataLoader
Collect the lookups of a request with DataLoader and answer them with one query per table, so the quest board needs three SQL queries instead of sixteen.
Intermediate25 min
Part 7: Caching Whole Responses in Valkey
Cache complete query results in Valkey with the response cache of Yoga, clear them when mutations change the data, answer repeated GET requests with 304, and keep the API up when the cache is down.
Intermediate25 min
Part 8: Query Limits and Persisted Operations
Protect the API from operations that are too deep or too expensive with a depth limit and a cost limit, and lock it to the operations of your own clients with persisted operations.
Intermediate25 min