:) Thanks for your sharing!!Have a nice day!<br><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Roger Lipscombe";<roger@differentpla.net>;</div><div><b>发送时间:</b> 2015年2月3日(星期二) 晚上10:06</div><div><b>收件人:</b> "断舍离"<459673409@qq.com>; <wbr></div><div><b>抄送:</b> "erlang-questions"<erlang-questions@erlang.org>; <wbr></div><div><b>主题:</b> Re: [erlang-questions] where start the poolboy privately?erlangdatabase connection pools</div></div><div><br></div>That question is unlikely to be answered in its current form. However,<br>here are some pointers:<br><br>My (abandoned-ish) blog engine, https://github.com/rlipscombe/blerg,<br>uses poolboy.<br><br>- I start poolboy in my application dependencies:<br>https://github.com/rlipscombe/blerg/blob/master/src/blerg.app.src#L11.<br>- The "-s" entry point is here:<br>https://github.com/rlipscombe/blerg/blob/master/src/blerg.erl#L4.<br>- I add poolboy to my supervision tree here:<br>https://github.com/rlipscombe/blerg/blob/master/src/blerg_db_sup.erl#L20<br><br>Hope that helps,<br>Roger.<br><br>On 3 February 2015 at 11:28, 断舍离 <459673409@qq.com> wrote:<br>> Thank you for reading my question!The URL is:<br>> http://stackoverflow.com/questions/28297708/where-start-the-poolboy-privatelyerlang-database-connection-pools‍<br>><br>> _______________________________________________<br>> erlang-questions mailing list<br>> erlang-questions@erlang.org<br>> http://erlang.org/mailman/listinfo/erlang-questions<br>><br></div>