adobe/aio-lib-state

[aio-lib-state] retrieving value via State.get takes more than 60s under load

honstar opened this issue · 4 comments

During a load test against one of our actions where we're using State from aio-lib-state to cache a token for reuse, we observed that on very rare occasions, the state.get call takes just a little over 60s to respond with the requested value. This leads to developer errors due to the action exceeding the default timeout of 60s.

Here are a few activation IDs for which this was observed:

ad65d2b56866448aa5d2b56866848ab4
ea2d8cee79ca4841ad8cee79cad841c2
61d28c62fad0444a928c62fad0d44a1f

Thanks for providing this feedback, @honstar !
It might relate to #61. We'll analyze deeper and look for options to improve the performance of the SDK under load.

See investigation in this comment #63 (comment)

Filed #66