saluzafa / async-aws-ruby

AWS SDK Ruby plugin that is compatible with `socketry/async` library (and async servers like `socketry/falcon`)
MIT License
6 stars 2 forks source link

Potential bug in handling of rate-limit errors #3

Open cyclotron3k opened 3 years ago

cyclotron3k commented 3 years ago

I've been playing with this a bit and it generally works very well, but I get intermittent errors, and they seem to occur when I'm pushing it quite hard and (presumably) causing the AWS API gateway to throw rate limit errors.

I see errors about unexpected EOF.

Is this something you have seen too? Are you accepting PRs?

saluzafa commented 2 years ago

Hello @cyclotron3k ! I didn't experienced that, but I'm not using it in the context of a high volume of requests. Feel free to open a pull request, it will be received with pleasure 😄 .

Cheers!

cyclotron3k commented 2 years ago

I've been digging into this a bit recently. My notes so far:

cyclotron3k commented 2 years ago

I've noticed that the issue usually happens 4-5 minutes into a stress test. It doesn't seem to be correlated with how many connections I'm allowing, and what the backoff parameters are - which is unusual. This could be a red herring though.