WCF 绑定性能 [英] WCF Binding Performance
问题描述
我使用的是基本的 HTTP 绑定.
I am using basic HTTP binding.
有谁知道在性能方面哪个是最好的绑定,因为这是我们网站的关键问题?
Does anybody know which is the best binding in terms of performance as thats the key issue for our site?
推荐答案
取决于服务所在的位置.
Depends on where the services are located.
如果它们在同一台机器上,NetNamedPipeBinding 应该会给你最大的性能.
If they're on the same machine, NetNamedPipeBinding should give you the maximum performance.
否则,您必须根据它们所在的位置进行选择,如果它们必须通过互联网进行通信、互操作性等.
Otherwise you'll have to choose depending on where they are located, if they have to communicate over the internet, interopability etc.
Soledad Pano 的博客 有一个很好的流程图来帮助根据情况选择合适的绑定
Soledad Pano's blog has a good flow chart to help with choosing the appropriate bindings depending on situation
这篇关于WCF 绑定性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!