WCF - Network Cost
- by Mubashar Ahmad
Dear Devs
I have a wcf service deployed on IIS with basicHttpBinding and aspNetCompatibilityEnabled=true
I have a test client as well which invokes multiple service functions simultaneously. To check the performance of service call on client and server I calculated the Avg time it takes to complete a service request on client(in proxy code) and on server as well.
after a test of 8 hrs (server and client were on the same machine) i came to know that average response time on client is around 34ms where as the Avg execution time on server is around 3ms so the difference is 31ms.
I would like to know why every call is taking 31ms is it justified? and how can i reduce this?