[erlang-questions] pgapp for Postgres
Tue Mar 10 12:25:24 CET 2015
I thought I'd mention a small project I've put together on top of the
epgsql Postgres driver:
The idea is to have something a bit higher-level rather than require
everyone to eventually put the same thing - or something like it -
I would not consider it production-ready just yet, but it's worth a
look if you want to get up to speed interacting with Postgres in a
One thing I would be happy to do is replace poolboy with something
with a bit more intelligence: for instance the ability to relinquish
extra connections a bit at a time, rather all at once. Say you set it
to run with 5 PG workers normally, but specify an 'overflow capacity'
of 10. If you go over 5 and hit 10, it should only relinquish those
over some period of time, rather that all at once, to avoid churn.
David N. Welton
More information about the erlang-questions