Skip to content

Commit

Permalink
Enterprise-1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Apr 11, 2024
1 parent 5fff096 commit a54a011
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG-enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

### Bug Fix

# 1.4.0 (11 Apr 2024)

- ObjectCache: add support for `redis_cluster: ...` backend

# 1.3.4 (18 Mar 2024)

- ObjectCache: use new `trace_with` API for instrumentation
Expand Down
10 changes: 10 additions & 0 deletions guides/object_cache/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,13 @@ maxmemory-policy allkeys-lfu
```

Additionally, consider conditionally skipping the cache to prioritize your most critical GraphQL traffic.

## Redis Cluster

`ObjectCache` also supports Redis Cluster. To use, pass `redis_cluster:`:

```ruby
use GraphQL::Enterprise::ObjectCache, redis_cluster: Redis::Cluster.new(...)
```

Under the hood, it uses query fingerprints as [hash tags](https://redis.io/docs/latest/operate/oss_and_stack/reference/cluster-spec/#hash-tags) and each cached result has its own set of object metadata.
1 change: 1 addition & 0 deletions guides/pro/checksums/graphql-enterprise-1.4.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d2152d80aee8cd1699c4e64e28329c51ddee38ea6ea318f89c6e9bc996fbd68d4db28831fcedb5583ba92d499852dd7fc8ca99583376eacd28f00c908fec8f28

0 comments on commit a54a011

Please sign in to comment.