devinus / poolboy

A hunky Erlang worker pool factory
http://github.com/devinus/poolboy
ISC License
1.56k stars 348 forks source link

Question: Is it possible to use an alternative process registry for worker processes? #127

Open orzen opened 5 years ago

orzen commented 5 years ago

Is it possible to use any other process registry than local for worker processes and if so, how would you go about it?

I would like to have run the worker processes in global for instance. I can't see how this would be done, based on the example. From the example the worker module starts using gen_server:start_link/3 instead of gen_server:start_link/4, which makes me wonder if poolboy is able to give the worker a global name?

Thanks in advance,

Mattias