bin-connection and connection re-usage

25 views
Skip to first unread message

Alexander Lolis

unread,
Sep 21, 2013, 2:14:40 PM9/21/13
to clojure-...@googlegroups.com
Hello,

I am trying to find more information about this in dos but I can not so here I am, asking a very basic question:

Should I keep a def and initialize my bin-connection once and use that through my app, or bin-connection will handle pooling internally and I can just call bin-connection every time I need it without performance penalty of opening a connection over and over again instead of re-using an already open connection?

Thank you for your time,

Alexander

Michael Klishin

unread,
Sep 21, 2013, 3:06:00 PM9/21/13
to clojure-...@googlegroups.com

2013/9/21 Alexander Lolis <alexand...@gmail.com>

Should I keep a def and initialize my bin-connection once and use that through my app

Alexander Lolis

unread,
Sep 21, 2013, 3:46:38 PM9/21/13
to clojure-...@googlegroups.com
Thanks Michael :) 

I love short answers, they save a lot of time hehe
Reply all
Reply to author
Forward
0 new messages