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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.