Event based cache invalidation in GraphQL
Back-end • October 2022
Event based cache invalidation in GraphQL
About
Event based cache invalidation in GraphQL
About

Caching is one of the most effective ways to achieve fast performance, probably the main one, but in a GraphQL context it’s not that easy: once we get to caching GraphQL queries in order to speed up our application backend, we also need to refresh the cache.

How can we do that? What are the strategies we can apply to keep our dynamic data ready to use and up to date at the same time?
How can we invalidate the cache efficiently?

Time based invalidation is widely used but not very precise, so let's introduce event based invalidation, with node.js, fastify and mercurius!

Language
English
Level
Intermediate
Length
36 minutes
Type
About the speaker
About the speaker
Simone Sanfratello
Senior Backend EngineerNearForm
I've been coding for 20 years across a wide variety of industries, working in many roles and companies, from garage startups to fintech international companies. My top skills are in node.js (Linux Foundation certified) and PostgreSQL, I love contributing to open source and occasionally speaking at conferences. I work as a consultant at NearForm as a Senior Backend Engineer.
Details
Language
English
Level
Intermediate
Length
36 minutes
Type