locked
Intranet Vs Internet Latency RRS feed

  • Question

  • I am looking at moving a WCF service off the intranet and onto the internet.  I hear chatty applications are bad due to the impact of latency when in a WAN environment.

    In terms of a WCF service how would a service suffer from WAN latency? For each service call and response is it simply the equivalent of the ping to the host *2? Or is there anything else at the protocol level which makes the impact of latency worse?

     


    Richard.
    Sunday, August 14, 2011 7:37 PM

Answers

  • There is no magic number that will say what the latency will be. It depends on several aspects, among them are:

    Network stability

    Bandwidth

    Request and response message sizes

    Number of routers on the way

     

    Usually you will find WAN slower than LAN because of the above; the only way to know how much slower it got is to do performance tests to calculate latency and throughput.


    Please mark posts as answers/helpful if it answers your question.
    Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
    Visit my blog: http://blogs.microsoft.co.il/blogs/idof
    • Proposed as answer by Ido Flatow. _ Tuesday, August 16, 2011 5:33 AM
    • Marked as answer by RichJ79 Tuesday, August 16, 2011 8:08 AM
    Monday, August 15, 2011 3:59 AM

All replies

  • There is no magic number that will say what the latency will be. It depends on several aspects, among them are:

    Network stability

    Bandwidth

    Request and response message sizes

    Number of routers on the way

     

    Usually you will find WAN slower than LAN because of the above; the only way to know how much slower it got is to do performance tests to calculate latency and throughput.


    Please mark posts as answers/helpful if it answers your question.
    Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
    Visit my blog: http://blogs.microsoft.co.il/blogs/idof
    • Proposed as answer by Ido Flatow. _ Tuesday, August 16, 2011 5:33 AM
    • Marked as answer by RichJ79 Tuesday, August 16, 2011 8:08 AM
    Monday, August 15, 2011 3:59 AM
  • Another matrix to consider is geographic location. In LAN environment, usually all machines are located in the same building, or a nearby building. But in WAN environment, geographic location can vary a lot. The client machine may be located in the same building, or it may be located on another continent. So WAN network connection speed often varies a lot.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    Windows Azure Technical Forum Support Team Blog
    Tuesday, August 16, 2011 1:59 AM