views:

28

answers:

1

Is there a gem for threadpooling anyone can recommend?

+2  A: 

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).

psyho