An easy way to determine a starting point is to configure your connection pool's maximum number of connections to be unbounded,run a load test, and measure the largest amount of concurrently used connections.
An easy way to determine a starting point is to configure your connection pool's maximum number of connections to be unbounded,run a load test, and measure the largest amount of concurrently used connections.
决定你的连接配置池初始值和最大值的一个容易的方法是先把它设到极大,然后进行压力测试,测量并发应用连接的最大数。