简体   繁体   中英

DBCP Datasource pooling?

I am implementing Apache DBCP connection to improve efficiency of my program that executes multiple queries.

The issue is that just having a connections pool is not enough because I have multiple data sources as well (I have m - datasaources and each data source has n- connections).

How can solve this issue?

Do I need connection pools for every data source? Is there a pool for datasources?

是的,每个数据源都需要一个池。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM