hasura / hasura/graphql-engine

Fail gracefully when Redis not available

Open
#10,101 1 comment 0 reactions 0 assignees View on GitHub
k/enhancement t/gql-services
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Component

Graphql Engine (caching)

### Is your proposal related to a problem?

Customers report to me that:

- If redis goes down, Hasura goes down. They would like more fault tolerance and graceful failures
- Sometimes headers are desired for higher up in the ecosystem e.g. CDN and Redis is not required

### Describe the solution you'd like

A situation where if Redis is not up/online, Hasura continues to serve requests, with appropriate headers (albeit with a header indicating the result is not cached in Redis).

This would achieve both goals vis-a-vis redis being down not impacting hasura and cache headers being able to be used without redis.

A backport of this functionality to v2 would also be desirable for existing customers.

### Describe alternatives you've considered

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.