cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
491
Views
15
Helpful
4
Replies

Latency vs speed

Not applicable

Hi,

I have a question for you guys.

 

We have a custom application here that runs on our LAN. So, server and clients are local. This application runs on TCP and do a LOT of requests in a small time.

 

Now we have a data center in another city. We want to move the server to this DC and keep users here locally via WAN link. When we try this, all our tests takes about 4 times the time vs LAN.

 

Our LAN has <1 ms of latency. Our WAN link (which is brand new, no one use it except our tests for the moment) is a steady 4ms latency link. So, about 4 times more....as our tests results.

 

In LAN, our links are 1gb between server and clients. Same thing for our WAN link.   For the test, we did a LAN extension. So there is no firewall or router. Only L2 because we wanted to test without other equipment in the loop.

 

So, if all links are the same speed (1gb), but the wan links have 4 times the latency, can we conclude that it's normal that our all tests are four times longer ?

Remember there is no router/firewall, QoS or other traffic running. Only a pure L2 link with just us doing the traffic.

 

Thank you

4 Replies 4

Aaron Harrison
VIP Alumni
VIP Alumni

Yes. Latency is a measure of time; if you multiply time by 4 it takes 4 times as much time.

Sounds like the app (if truly custom) is within your control and you can perhaps have your devs optimise it to make fewer, larger calls.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

A couple of things,

the wan link does have  service provider equipment it passes through, so minor delay there,

But the main thing is just physics and the speed of light! I don't know how far away your other location is but obviously going to take longer to go there than just in a local LAN.

HTH

Richard

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

No you cannot assume 4 times the latency will slow an application by 4 times.  It depends much on how the application interacts with the network.

An an example, you mention your LAN latency is less than a ms.  It might be much less.  Suppose it was .25 ms.  In that case, your WAN latency would be 16 times slower.  Or suppose it's .1 ms, then your WAN latency is 40 times slower.

That said, increased latency will slow almost any application.

Vinny
Level 1
Level 1

thank you all

 

I'll explain that to people here that need explainations :)

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: