How can I use connection pooling in perl using MySQL? -
this question has answer here:
- perl connection pooling 2 answers
we have perl application using dbi connect mysql , execute sql statements. creates multi connections, want handle using connection pooling , have no idea connection pooling.
how do this?
if there multiple connections same database same dsn inside 1 process, can replace calls dbi->connect
dbi->connect_cached
, the dbi take care of reusing connections. that's not pooling, should work.
Comments
Post a Comment