I now think of two schemes:
1. Each of the different database, there is a unique connection pool, (connection pool whether or not to use too much?
2. Manage all database, a connection pool (how to distinguish the different in the same connection pool database connections?)
Want to listen to everyone's opinions, ideas,
CodePudding user response:
The connection pool is to allow multiple data sourcesCodePudding user response:
Their search multiple source connection pool configuration is okCodePudding user response:
Of new check a true eye, wait for bosses comeCodePudding user response:
Dynamic multiple data sources using the druid connection pool:https://blog.csdn.net/songzehao/article/details/100548930
CodePudding user response:
Insert the eye and 2 (-)CodePudding user response:
Achieve a datasource, they hold the different datasource reference, what all don't need to pipe connection pool... You concentrate on your own logic