GraphQL Caching Demystified
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/graphql-caching-demystifiedsummary
Explains how to improve GraphQL performance using Fastify and the Mercurius GraphQL plugin through resolver-level caching in a federated service setup. Describes experiments with AutoCANON load testing showing a 0-second TTL cache raising throughput ~4x, using the AsyncCacheDedupe module to deduplicate cache work, and employing Redis pipelining to boost requests-per-second by ~100x; notes cache invalidation remains a work in progress.
AI-written summary · about







