May 01, 2007

Web Services Aren't Slow

Here is some benchmark data that should dispel the urban myth that Web Service technology is slow.

A recent MSDN whitepaper describes some testing to compare WCF performance against the existing .NET Remoting and WSE 2.0/3.0 technologies, and reached the following conclusion:

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.

[ MSDN Whitepaper - A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies - http://msdn2.microsoft.com/en-us/library/bb310550.aspx ]

Don't let concerns about "slowness" of Web Services technology hold you back - it's simply not true!

Posted by Jorgen Thelin at May 1, 2007 09:38 AM - [PermaLink]
 
Comments
Jorgen, I read the same white paper as part of my research into WCF. I got the impression it was only comparing WCF running HTTP binding to Web Services. If that were the case, then 25% improvement is quite good. I cannot find a good comparison between Web Services and WCF when running TCP binding. My own non-scientific tests show it to be 3X-10X faster. Do you suggest any links to get a more clear-cut benchmark? Posted by: RL on June 1, 2007 04:30 AM