views:

260

answers:

2

I'm interested in knowing the different bandwidth and performance characteristics of the different WCF bindings (basicHttp, WSHttp, nettcp, etc.). Aside from writing a service and exposing the different endpoint bindings that we can call to exercise, how could I measure these metrics?

In particular, I need to know how bandwidth and performance scales as number of messages go up in number.

thanks!

A: 

I'm not sure that looking at bindings alone will answer that question as are there are other factors like concurrency, instancing and throttling that weigh heavily on how a given service will perform. That being said, here's a great post that tried to take a look at certain performance aspects of the various bindings:

http://geekswithblogs.net/BVeldhoen/archive/2008/01/26/wcf-latency-test-harness.aspx

MattK
A: 

This is also covered in the following SO question:

http://stackoverflow.com/questions/561915/wcf-binding-performance

Shiraz Bhaiji