enova / sidekiq-rate-limiter

Redis-backed, per-worker rate limits for job processing.
http://rubygems.org/gems/sidekiq-rate-limiter
MIT License
192 stars 43 forks source link

Huge CPU consumption #21

Open schovi opened 8 years ago

schovi commented 8 years ago

When using this gem sidekiq processes uses almost 100% CPU whole time. Configuration: Debian Jessie, Ruby 2.3, Rails 5.beta3, Sidekiq 4.1.1 I run 2 workers with 20 concurrency each. I have 2 queues: default and limited Only limited has rate option applied and it does not processing jobs whole time. That means for me that this gem affects even normal queues processing too.

Screenshot, but it tells not much :)

sidekiq-rate-limiter
npearson72 commented 6 years ago

👍

cecilian commented 5 years ago

Hello, having the same problem on v.0.1.2, ruby-2.2.10, Rails 4.2.11.1 We have several queues and only one is limited. Is there any chance that this issue or #2 will be tackled in the future? Thank you