GraphQL Edge Caching

Never down, always fast. Superpower your GraphQL API and protect your business.

V
I
S
I
T
O
R
S
MAX LOAD
16:00
20:00
24:00
04:00
08:00
12:00
16:00
20:00
24:00
04:00
Without Stellate
GraphQL
Client
GraphQL
Backend

Protect your users from downtime. Skyrocket performance and be relaxed about it.

Stellate’s GraphQL Edge Caching sits in front of your existing infrastructure and supports all GraphQL APIs.

It can handle POST requests, cache private data per authenticated user, and proxy through to your server of choice.

20.5%

API traffic reduction

The requests our origin has to handle dropped by more than 50% — we don't even notice traffic spikes anymore!

Ivan Vanderbyl

CPO & Co-Founder, Airheart

Airheart logo
Compare Performances

Lengthy loading is so 2020

Render your loading invisible. Activate Stellate’s GraphQL Edge Caching in the example below and fetch data (almost) instantly.

Stellate

Set up in minutes

Enter your own API endpoint, have it up and running in 5min.

Stellate has the best, your API can too.

It’s the product the team wished for while creating the leading GraphQL open source projects.

Peak performance

Witness the fitness

  • Global p95 response time

    50ms

    There is no excuse for slow performance.

  • Server load reduction

    90%+

    You build your product, we handle your traffic.

  • Stellate uptime

    100%

    We’re up all night so you stay lucky.

30.6%

Increased performance

For 80% of our queries, performance went up significantly: Our GraphQL API’s overall p95 response time has decreased by over 10 seconds!

Matt MacGillivray

Founder, InnerSpace

InnerSpace logo
Performance Features

Cache it like it's hot

  • {
    posts { # Post: maxAge 900s swr 900s
    nodes {
    id
    title
    slug
    status # Post.status: swr 180s
    author {
    node { User: scope AUTHENTICATED
    id
    name
    }
    }
    }
    }
    }
  • Fine-grained cache control

    Create custom rules to determine which GraphQL query results to cache for how long based on types and fields.

    For example: Cache posts results for 900s and its status for 180s.

  • Automatic mutation invalidation

    Invalidate any changed data sent to your GraphQL API automatically.

    For example: editPost(id:5) will invalidate all cached query results containing the post with id 5.

  • Instant global cache purging

    Purge specific data globally in about ~150ms.

    For example: Purge the post with id 5 and any cached query results containing it.

Combine with metrics

Works great with Stellate GraphQL Metrics

  • Understand your global latency

    Most GraphQL APIs sit in one data center. Monitor your global latency and verify the performance boost your users get through edge caching.

    Map showing P95 latencies for North America (512ms), South America (1208ms), Europe (159ms) and Africa (747ms)
  • Get cache hit rate insights

    Understand how the attributes of your various data types affect the cache hit rate of individual queries.

    A card where we see Different types of our application with their corresponding cache hit rate on the left side, on the right side there are different unused types and when they were last seen
  • Check your purging analytics

    Whether auto invalidated from mutations or manually invalidated from the API, Metrics show when and what is being purged from the cache.

    A statistic showing that a mutation named updateOrder resulted in an expected latency increase of 1537ms because it invalidated a set of types and queries
  • Become a pro in cache debugging

    Track every request and its cache state. Monitor your cache hit rate and understand why certain requests are being cached and others are not.

    A query named getCategories resulted in a cache-pass because the request body was too big, we can also derive that we retried the request three times, it it failed twice due to a Bad Gateway error and ended up in a success.

What are you waiting for?

It takes less than 5 minutes to set up a fully functional CDN for your GraphQL API.