none
WCF性能 RRS feed

答案

  • Hi,

        你说的是使用WCF开发应用的性能问题了。你说的情况确实有,但是要看具体的应用场景。WCF是做企业应用开发与集成的,面向SOA,为其服务。开发一个性能要求苛刻的程序还是不如早期的技术。毕竟它也是基于.NET平台的。
        微软官方曾经给出过一个测试,测试的文章页很详细:A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies;http://msdn.microsoft.com/zh-cn/library/bb310550(en-us).aspx;你可以看一下。
     

      这些也是针对微软以前的分布式技术做的比较。This article provides a high-level performance comparison between Windows Communication Foundation (WCF) and existing Microsoft .NET distributed communication technologies. (22 printed pages)

    结论:

    总结:, WCF 比ASP.NET Web Services快了25%—50%, 大约 比 .NET Remoting快了25%. 与.NET Enterprise Service相比它是加载依赖,其中一种情况大概快了100% 但是其它情况慢了25% . 与WSE 2.0/3.0 i相比, 迁移到WCF将显著提升大约4倍的性能.

    原文:When migrating distributed applications written with ASP.NET Web Services, WSE, .NET Enterprise Services and .NET Remoting to WCF, the performance is at least comparable to the other existing Microsoft distributed communication technologies. In most cases, the performance is significantly better for WCF over the other existing technologies. Another important characteristic of WCF is that the throughput performance is inherently scalable from a uni processor to quad processor.

    To summarize the results, WCF is 25%—50% faster than ASP.NET Web Services, and approximately 25% faster than .NET Remoting. Comparison with .NET Enterprise Service is load dependant, as in one case WCF is nearly 100% faster but in another scenario it is nearly 25% slower. For WSE 2.0/3.0 implementations, migrating them to WCF will obviously provide the most significant performance gains of almost 4x.

      另外的一个文章也可以看看,也是将性能的WCF Tips: Achieving High Performance. List of Key Design Decisions and Tuning Parameters。http://blogs.microsoft.co.il/blogs/rotemb/archive/2008/07/03/wcf-achieving-high-performance-list-of-key-design-decisions.aspx


    you have a dream,you gonna protect it! http://www.cnblogs.com/frank_xl
    2009年6月3日 10:12
    版主

全部回复

  • 谁说特慢的 呵呵

    紫柔版主的头像真叫萌得一个不行啊。。。。
    2009年6月3日 7:33
  • Hi,

        你说的是使用WCF开发应用的性能问题了。你说的情况确实有,但是要看具体的应用场景。WCF是做企业应用开发与集成的,面向SOA,为其服务。开发一个性能要求苛刻的程序还是不如早期的技术。毕竟它也是基于.NET平台的。
        微软官方曾经给出过一个测试,测试的文章页很详细:A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies;http://msdn.microsoft.com/zh-cn/library/bb310550(en-us).aspx;你可以看一下。
     

      这些也是针对微软以前的分布式技术做的比较。This article provides a high-level performance comparison between Windows Communication Foundation (WCF) and existing Microsoft .NET distributed communication technologies. (22 printed pages)

    结论:

    总结:, WCF 比ASP.NET Web Services快了25%—50%, 大约 比 .NET Remoting快了25%. 与.NET Enterprise Service相比它是加载依赖,其中一种情况大概快了100% 但是其它情况慢了25% . 与WSE 2.0/3.0 i相比, 迁移到WCF将显著提升大约4倍的性能.

    原文:When migrating distributed applications written with ASP.NET Web Services, WSE, .NET Enterprise Services and .NET Remoting to WCF, the performance is at least comparable to the other existing Microsoft distributed communication technologies. In most cases, the performance is significantly better for WCF over the other existing technologies. Another important characteristic of WCF is that the throughput performance is inherently scalable from a uni processor to quad processor.

    To summarize the results, WCF is 25%—50% faster than ASP.NET Web Services, and approximately 25% faster than .NET Remoting. Comparison with .NET Enterprise Service is load dependant, as in one case WCF is nearly 100% faster but in another scenario it is nearly 25% slower. For WSE 2.0/3.0 implementations, migrating them to WCF will obviously provide the most significant performance gains of almost 4x.

      另外的一个文章也可以看看,也是将性能的WCF Tips: Achieving High Performance. List of Key Design Decisions and Tuning Parameters。http://blogs.microsoft.co.il/blogs/rotemb/archive/2008/07/03/wcf-achieving-high-performance-list-of-key-design-decisions.aspx


    you have a dream,you gonna protect it! http://www.cnblogs.com/frank_xl
    2009年6月3日 10:12
    版主