Batch Database Requests with a GraphQL API

InstructorJacob Paris

Share this video with your friends

Send Tweet

Querying a thousand posts doesn't have to mean a thousand individual database requests.

We're going to build a batching layer that adds a millisecond pause into each resolver while it gathers all the required post IDs and then fetches them in a single request