poolboy
poolboy copied to clipboard
A hunky Erlang worker pool factory
`gen_server:cast/2` can set the last stacktrace as it will catch the `badarg` if a locally named process is not registered.
Hi, I am trying to whether poolboy can dynamically increase the pool size until it reaches the size. Allocating resources in the beginning of the world seems to be wasteful....
The stacktrace points to the wrong place if the checkout gen_server call exits because of a non-timeout reason to a named pool. https://github.com/devinus/poolboy/blob/master/src/poolboy.erl#L52-L60 ``` ** (exit) exited in: :gen_server.call(Ellexir.Repo.Pool, {:checkout,...
Well, I'm building a service which uses **[brod](https://github.com/klarna/brod)** as the producer as well as consumer client for **Kafka** message broker. And I'm trying to handle the worker processes through your...
Hi, I wrote a simpler example doing away with all the DB dependencies. Yes, I believe your example is more practical, but maybe a beginner may find mine more useful....
I did not find this in the documentation, but it would be great if we could specify a maximum connection age so that connections are terminated and new ones are...
This is useful for reconfigure (change state) of all the workers
There is no sense to restrict worker arguments to proplists. While they are opaque to poolboy and are passed as is, they could be anything.
The PR for [this](https://github.com/devinus/poolboy/issues/95) issue.
Observed situation where worker crashes and next client process gets the new worker. Unfortunately the new worker might be busy asynchronously starting, for example when the worker is setting up...