相比于命名管道和远程WCF是否有性能问题? [英] Does WCF have performance issues compared to named pipes and remoting?

查看:196
本文介绍了相比于命名管道和远程WCF是否有性能问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始WCF ......但是这会拖慢进程间通信进一步相比老远程处理,TCP套接字或命名管道?

I'm just starting WCF...but will this slow down interprocess communication further compared to the old remoting,Tcp sockets or Named Pipes?

感谢

推荐答案

没有,性能也不会慢。 WCF有一个基于TCP传输和命名管道的。换句话说,编程模型(WCF)是独立于交通工具。这是WCF的基本原则之一。

No, the performance will not be slow. WCF has transports based on TCP and named pipes. In other words, the programming model (WCF) is independent of the transport. This is one of the foundational principles of WCF.

WCF能够并且将会使用最佳的数据传输机制,你会得到不错的表现。你应该基准的情况下,但在大多数情况下,数据传输的成本的传输之后是比较小的操作的的成本。

WCF can and will use the optimal data transmission mechanism, and you'll get good performance. You should benchmark your scenario, but in most cases, the cost of the data transmission is small in comparison to the cost of the operation after the transmission.

此外,这里为比较的性能的文件WCF的使用替代品的的,由微软出品的分析。

Also, here is a document comparing the performance of WCF with alternatives, an analysis produced by Microsoft.

这篇关于相比于命名管道和远程WCF是否有性能问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆