Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby: Any gems for threadpooling?

Is there a gem for threadpooling anyone can recommend?

like image 301
Zombies Avatar asked Dec 06 '25 06:12

Zombies


1 Answers

From my experience forking/process pooling is much more effective than thereadpooling in Ruby (assuming you do not need much in terms of thread communication). Some time ago I created a gem called process_pool, which is a very basic process pool with a file based job queue (you can check it out here: http://github.com/psyho/process_pool).

like image 160
psyho Avatar answered Dec 08 '25 20:12

psyho



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!