·2,447,543篇论文数据,部分数据来源于NoteExpress
为了汇集任何. NET对象,我认为针对本文编写一个通用的对象池会很有趣。
For pooling any.net object, I thought it would be interesting to write a general-purpose object pool for this article.
但不存在一个确凿通用的数据,因为缓冲池的最佳大小随不同的负载类型变化,但根据经验,当缓冲池大于 1 GB 时往往不是什么好事。
There isn't a hard and fast number that has been documented because it can vary with the type of workload, but as a rule of thumb, having more than 1 GB does not appear to be worthwhile.
不用多说,你在网上能找到很多关于连接池调优的技术,因此我们只讨论那些大多数连接池所共有的通用调优参数。
Needless to say you can find plenty of connection pool tuning techniques on the web. Accordingly we will only mention common tuning parameters that are Shared by most pools.
应用推荐