Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I have simple WCF service that returns "Hello" when GetData() Method is called upon. It takes around 700 ms to return the data while the Server ping is only 350 ms. Does WCF service makes 2 calls to server for getting data from server?
Posted

1 solution

The question makes no sense, because the response time depends on many factors.

The protocols you are using with WFC have nothing to do with ping (ICMP, https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol[^]), so the time correlation you can see is pure imaginary, nothing but a coincidence. By the way, try to repeat your timing several time, chances are, you will see great statistic dispersion.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900