venu_hs has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Need some suggestions on best way to solve this problem:
I have a perl program which can connect to any two different databases and do a comparison of two tables.
I have close to 200+ database tables to be compared.I also have option to compare different objects in different servers (parallel). Now the issue is that opening 200+ connections to database. I would like to implement a connection pool here to reduce the number of active connections at any point of time.
These are the few options i can think of:
1. Use Apache::DBI 2. Use DBIx pool 3. Use ResourcePool
New modules/approaches apart from the above are also welcome.
If any one has come across this scenario, could you please let me know which one is the best approach...
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Connection Pooling
by Laurent_R (Canon) on Jun 10, 2013 at 11:15 UTC | |
| |
|
Re: Connection Pooling
by erix (Prior) on Jun 10, 2013 at 10:44 UTC | |
by venu_hs (Novice) on Jun 10, 2013 at 11:05 UTC | |
|
Re: Connection Pooling
by Happy-the-monk (Canon) on Jun 10, 2013 at 10:39 UTC | |
by venu_hs (Novice) on Jun 10, 2013 at 11:03 UTC | |
|
Re: Connection Pooling
by space_monk (Chaplain) on Jun 10, 2013 at 09:56 UTC | |
by venu_hs (Novice) on Jun 10, 2013 at 10:10 UTC |