[erlang-questions] where start the poolboy privately?erlang database connection pools

Roger Lipscombe roger@REDACTED
Tue Feb 3 15:06:04 CET 2015


That question is unlikely to be answered in its current form. However,
here are some pointers:

My (abandoned-ish) blog engine, https://github.com/rlipscombe/blerg,
uses poolboy.

- I start poolboy in my application dependencies:
https://github.com/rlipscombe/blerg/blob/master/src/blerg.app.src#L11.
- The "-s" entry point is here:
https://github.com/rlipscombe/blerg/blob/master/src/blerg.erl#L4.
- I add poolboy to my supervision tree here:
https://github.com/rlipscombe/blerg/blob/master/src/blerg_db_sup.erl#L20

Hope that helps,
Roger.

On 3 February 2015 at 11:28, 断舍离 <459673409@REDACTED> wrote:
> Thank you for reading my question!The URL is:
> http://stackoverflow.com/questions/28297708/where-start-the-poolboy-privatelyerlang-database-connection-pools‍
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list