'ruby rabbitmq puma sneakers multiple idle threads
I have simple application written on the basis of the Sinatra framework. I use Bunny and Sneakers as subscriber.
I'm having a problem with PUMA and generating threads.
Each event collected from the Sneakers worker, from the RabbitMQ queue, creates a new thread in my application, which remains idle and is not deleted.
One hundred thousand events generate one hundred thousand threads :-/ ?
Is this normal behavior?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
