You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this package for a week and I have a problem, my cache check returns an error in production quite often (every hour thanks to the throttle). In production, I use k8s, and I have several pods for my backend that run simultaneously (behind a load balancer).
This cache error I'm pretty sure is related to the fact that the check generates a random string and since all my pods perform the action simultaneously the value doesn't have time to be read.
I've never submitted a pull request on any of the packages I use, I might try it but I'd like to validate my idea with you first.
I would like to add an option in the config like unique_cache_key, which if enabled would add the hostname to the cache key.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm using this package for a week and I have a problem, my cache check returns an error in production quite often (every hour thanks to the throttle). In production, I use k8s, and I have several pods for my backend that run simultaneously (behind a load balancer).
This cache error I'm pretty sure is related to the fact that the check generates a random string and since all my pods perform the action simultaneously the value doesn't have time to be read.
I've never submitted a pull request on any of the packages I use, I might try it but I'd like to validate my idea with you first.
I would like to add an option in the config like
unique_cache_key
, which if enabled would add the hostname to the cache key.Or do you think it should be done by default?
Beta Was this translation helpful? Give feedback.
All reactions