只有在CPU没有完全利用的情况下,才考虑增加池的大小。
Consider increasing the size of the pool only if the CPU is not fully utilized.
一般情况下,缓冲池命中率在80%以上就认为是良好的。
In general, a buffer pool hit ratio above 80% is considered good.
例如,看一下清单1内所示的这个连接池单例。
For example, take a look at the connection pool singleton in Listing 1.
在这种情况下,ConnectionManager将获取连接,并将其放回空闲池。
In this situation, the connection Manager will take the connection and put it back into the free pool.
让我们看一下连接池创建的更多细节。
Let us see Connection Pooling Creation Mechanism in more detail.
让我们看一下连接池创建的更多细节。
Let us see Connection Pooling Creation Mechanism in more detail.
应用推荐