16
21
+ 1
0

What is GraphQL Cache?

A custom middleware for graphql-ruby that handles key construction and cache reads/writes transparently.
GraphQL Cache is a tool in the Cache category of a tech stack.
GraphQL Cache is an open source tool with 236 GitHub stars and 6 GitHub forks. Here’s a link to GraphQL Cache's open source repository on GitHub

Who uses GraphQL Cache?

Companies

Developers
14 developers on StackShare have stated that they use GraphQL Cache.

GraphQL Cache Integrations

Why developers like GraphQL Cache?

Here’s a list of reasons why companies and developers use GraphQL Cache
Top Reasons
Be the first to leave a pro
GraphQL Cache Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose GraphQL Cache in their tech stack.

Michael Kelly
Michael Kelly
Senior Software Engineer at StackShare · | 5 upvotes · 3K views
atStackShareStackShare
Rails
Rails
GraphQL Cache
GraphQL Cache
GraphQL Ruby
GraphQL Ruby

When we went all in on adopting GraphQL Ruby as our backend API standard there wasn't any good way to handle fine grain caching of resolved fields. We could hack around it caching the entire JSON document, but this was too heavy-handed. We also needed to expose real-time fields next to large cached collections in our schema which isn't possible this way.

To solve the problem we built GraphQL Cache which is a custom plugin for GraphQL Ruby that provides field-level caching. The gem integrates with Rails so that it can be easily dropped into an app and used to cache computational or network intensive resolvers at a layer similar to the Rails controllers we're all used to. For more information on why and how GraphQL Cache came to be, read the blog post linked to this decision.

See more

GraphQL Cache's Features

  • Open source

GraphQL Cache Alternatives & Comparisons

What are some alternatives to GraphQL Cache?
GraphQL
GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
MobX
MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.
Ehcache
Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.

GraphQL Cache's Stats

GraphQL Cache's Followers
21 developers follow GraphQL Cache to keep up with related blogs and decisions.
Mohamma76685757
Clint_II
Matthew Castrillon-Madrigal
Mariana Gibara
Yury Buldakov
naotolog1
Nhan Ngo
stan4076
Q75031477
shenzhou1982