worker_pool ... extended

Dmitrii Dimandt <>
Tue Aug 31 14:29:34 CEST 2010

I've somewhat extended RabbitMQ's excellent implementation of worker pools (see full description at

Limitations of RabbitMQ's worker pool are as follows:

	• only one can be created within the running application
	• you have to supply the pool with the function you want to run each time you invoke it

My fork allows you to:

	• Run several worker pools (each independently named, if needed)
	• Make a worker pool execute a specified function every time it's invoked
		• If such a function requires initialization of certain parameters or somesuch, you can supply an init function that will be called once the worker pool has been started

You can get it at

There are examples in the README, and the code should be working (despite the fact that I pulled it from a different project)

More information about the erlang-questions mailing list