Skip to content

Conversation

@conormurray95
Copy link
Contributor

@conormurray95 conormurray95 commented Nov 21, 2022

Issue
When starting the proxy connected to redis we don't have a strict healthcheck on startup. This means we might fail to connect properly and then log errors later when we can't write to the cache instead of failing early.
This isn't super helpful because it's not overly clear that we failed to connect to redis in the first place, it looks more to a user like the issue is in our caching code itself.

Solution
Have a strict redis healthcheck on startup.
Specify in docs that we don't support clustered redis instances.

Other info
These improvements have come from the issue raised here - #110 where it wasn't immediately obvious what the underlying issue was on startup and led to cache errors later.

@swarmia
Copy link

swarmia bot commented Nov 21, 2022

Copy link
Contributor

@jcox250 jcox250 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@conormurray95 conormurray95 merged commit 519e32b into main Nov 21, 2022
@conormurray95 conormurray95 deleted the FFM-5400-redis-cluster-docs branch November 22, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants