AlgoViz

GraphQL

medium 27 min

GraphQL is a query language for APIs with a typed schema.

Where it shows up

The same pattern appears across everyday software.

  • Facebook

    Began GraphQL in 2012 for its native mobile apps. Its engineers wrote in 2015 that it powered almost all data fetching in them.

  • GitHub

    Offers GraphQL beside REST, not in place of it. Limits are by points and nodes: 5,000 points an hour for a user and 500,000 nodes in a call.

  • Shopify

    The Storefront API serves custom shop fronts, some of it without an access token. The Admin API is limited by the calculated cost of a query.

  • Relay

    Meta's client framework, whose connection specification gave many schemas their edges, nodes and cursors.

  • Apollo

    Makes a widely used server and client. Version 4 of the client moved React hooks to their own entry point and replaced its single error class.

  • DataLoader

    A small open source library kept by the GraphQL project: batching and caching for one request, copied in many languages.