You can set up the number of the connections in the pool. I think the maximun is unlimited. The more you set it to, the less the pool will be re-used. You need to find the balanced point, based on expected number of online users
【在 k*******d 的大作中提到】 : You can set up the number of the connections in the pool. I think the maximun : is unlimited. : The more you set it to, the less the pool will be re-used. : You need to find the balanced point, based on expected number of online users
k*d
4 楼
Still depending on the comparison between the resource your application needs to run and the overhead of building connection. If your app is simple and uses very little resource, you will be better off if you limit the connection pool, to force reusing. Otherwise, if your app is huge and uses a lot of resource, then the conn pool doesn't matter any more, 'cause it's not the bottleneck. You need to do some burden testing on your apps and server. Microsoft has a very neat tool called application t
【在 k*******d 的大作中提到】 : Still depending on the comparison between the resource your application needs : to run and the overhead of building connection. : If your app is simple and uses very little resource, you will be better off if : you limit the connection pool, to force reusing. : Otherwise, if your app is huge and uses a lot of resource, then the conn pool : doesn't matter any more, 'cause it's not the bottleneck. : You need to do some burden testing on your apps and server. Microsoft has a : very neat tool called application t