A special thanks to all of you who have taken advantage of early access for our Unpacked: Full-Stack GraphQL course! Your feedback is priceless and we love hearing how the first 10 modules have been a helpful springboard for you.

This week we have three new videos for you all focused on Dataloader, which is the unsung hero when it comes to GraphQL query performance.

As #11 Intro to Dataloader begins, we have a classic N+1 query problem. So we start by giving Dataloader a whirl in IEx to understand how it works under the hood.

Then in #12 Optimizing Queries with Dataloader we use it to efficiently load data in batches when querying for associations. The result is less code to maintain and no risk of N+1 query problems when requesting data.

But wait, there’s more: Dataloader goes beyond simply loading data in batches. In #13 Dataloader Filtering and Ordering we define filtering and ordering rules for various query fields.

Also, we’ve added more example data to seeds.exs, so be sure to grab a new copy of the code bundle. Enjoy!