我爱我老婆
摘要: 用HttpWebRequest去Call别的Service,怎样才能提高并发量和性能?因为建立一个TCP连接要三次握手,.Net 默认使用 keepAlive = Ture 去重用连接,避免重建Connection的开销,还有一些设置我们也要注意:DefaultConnectionLimitdescription: Maximum number of concurrent connections to a single ServicePointdefault: 2suggested: 12*N, N is the number of CPUMaxServicePointIdleTimedesc 阅读全文
posted @ 2012-02-01 15:23 DataFlow 阅读(862) 评论(0) 推荐(1) 编辑