-
I have a specific use case with setup of ory/hydra. There are large amount of embedded devices with regular consent flow and autorefreshing the jwt on client's detection of exp. But what happens is they somewhat 'synchronize' in refresh request, producing spikes at the back-end service. The question is which tier is the most appropriate to address such issue. I think it is lesser responsibility on the client side and some 'randomness' should be managed on the back-end. So, there are two ideas on my mind:
Thank you in advance for the educated opinion. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @abregar - sorry for the late response on this one! We're introducing a new feature which allows you to configure different lifespans per client, this could help with your proposal. Regarding jitter itself, I don't think that we'll be able to introduce that as there are too many other pieces (max_age for example) depending on predictable behavior. |
Beta Was this translation helpful? Give feedback.
-
Answer with good news is never too late, ty. |
Beta Was this translation helpful? Give feedback.
Hi @abregar - sorry for the late response on this one! We're introducing a new feature which allows you to configure different lifespans per client, this could help with your proposal.
Regarding jitter itself, I don't think that we'll be able to introduce that as there are too many other pieces (max_age for example) depending on predictable behavior.