[erlang-questions] Reinventing the database wheel

linbo liao llbgurs@REDACTED
Fri Apr 17 04:16:34 CEST 2015

Hi David,

Could you help to point the problem?

Here I hit this issue, when client exceed the pool size and start new
overflow client,  now due to network or other issue, new connection isn't
succeed.  At same time, old good client will checkin, but overflow >0,
those good clients will be shutdown by poolby.


2015-04-16 17:33 GMT+08:00 David Welton <davidnwelton@REDACTED>:

> It'd be cool if there were some kind of generic pool + circuit breaker
> kind of thing.  Everyone ends up reinventing and rewriting this wheel,
> which is is a big waste of programmer time.
> I did some code for Postgres here: https://github.com/epgsql/pgapp but
> the problem is essentially the same across other databases.
> --
> David N. Welton
> http://www.welton.it/davidw/
> http://www.dedasys.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150417/4595506c/attachment.htm>

More information about the erlang-questions mailing list