¿Qué es la red L?atency y ¿cómo mejorarlo? [2023]

Esta guía analiza en profundidad la red latency y explora las posibles formas de reducirlo para una mejor experiencia del usuario final.
In this world wide web, data travels from one point to another, bringing delays. While it seems insignificant from a normal life perspective, it makes a whole lot of difference in how the internet operates.
¿Qué es la red L?atency?
Simply put, network latency is the round-trip time it takes a signal to leave a user for the server and return.

Pero no es tan simple como parece en la imagen de arriba.
What did it miss were the junctions through which the signal hops between the two endpoints. This routing is the major cause of network latecy.
It would help to know that latency is almost double of de ping, which is the time taken for the data to move from the user to the server. Still, some use latency and ping interchangeably, which is conceptually equivocada.
Y aunque algo confuso para algunos, latency is different from throughput and bandwidth.
Zero-latency is what we all aim for. But the distance and the connections in-between induce unavoidable lag. Still, network admins target the lowest possible latencies for various internet applications such as gaming, video calling, etc.
Causes of Network Latency
The number one culprit of high latencies is the distancia. Greater distance between the origin and the server means more intermediaries. These junctions have their individual bottlenecks adding a small number of delays to the overall latecy.
Otra causa importante puede ser una sitio web no optimizado. Esto puede deberse a varios problemas, como la presencia de archivos multimedia de gran tamaño, cookies de seguimiento (de servicios como Google Analytics), mal servicio de alojamiento web, etc.
Además, también puede ser un usuario con hardware ineficiente (like low RAM), causing high latencias.
finalally, every element in the network, like the cables, routers, server, client hardware, software, etc., add some lag.
Measuring Network Latency
Traceroute
Esta es la forma más común de medirlo directamente desde su computadora. Abra el símbolo del sistema y escriba tracert seguido de la dirección de destino.
Por ejemplo, tracert geekflare.com
will give all the junctions from my computer on the way to the Geekflare sitio web.
C:\Users\Hitesh Sant>tracert geekflare.com
Tracing route to geekflare.com [2606:4700:839a:d810:7339:41f:a5a:b5b7]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 2401:4900:1c1a:404d::1
2 7 ms 5 ms 6 ms 2401:4900:1c1a:8fff::1
3 8 ms 5 ms 6 ms 2404:a800:1a00:802::a5
4 36 ms 36 ms 37 ms 2404:a800::2
5 36 ms 37 ms 38 ms 2404:a800:0:29::b1
6 34 ms 45 ms 33 ms 2400:cb00:202:3::
7 33 ms 34 ms 33 ms 2606:4700:839a:d810:7339:41f:a5a:b5b7
Trace complete.
el totalatency, in this case, will be the average of the summation of individual columns, which indicate the round trip times (RTT) between consecutive hops.
Nirsoft Latency View
Si bien traceroute es útil para un solo punto final con menos de 30 saltos, Nirsoft Latency View reveals the lags of all outbound connections.
In addition, this completely free tool gives you the average latency value of all the connections to the same destination.
Eche un vistazo:

SolarWinds Traceroute NG
Traceroute NG is another excellent tool for running multiple latency tests aimed at a single server.

This keeps checking latency values until you stop. The dashboard gives you instant and average lag values for a specific destination.
Similarly, there are many utilities for finding out network paths and latecy.
Effects of High Latency
You might be wondering why latency is so important. Not just gamers, our complete internet experience depends on it.
l altoatency values can make every internet-connected service load slow till the point the user switches to the computer.
For instance, would you use Facebook if it takes a good 30 seconds to load every time? Statistics show that each extra second in website loading translates into high bounce rates, and even a el tiempo de carga de dos segundos dará como resultado casi un 10% menos de usuarios.
Aumente esto a siete segundos y verá una caída del 32% en el tráfico web.
Not just the visitors, high lag values affect whatever you do online, be it video calls, presentations, payments, etc.
Esto también reducirá la capacidad de transferencia de datos por unidad de tiempo (también conocida como rendimiento) incluso si la capacidad de la red (también conocida como ancho de banda) es sustancial.
Conclusively, only low latency networks are useful, and network admins constantly try to bring this down to boost productivity.
Reducing Network Latency
While you can’t update or improve all of the networks between the endpoints, there are a few things to take care of.
El mecanismo para optimizar una red comienza con apuntar a su mayor enemigo: la distancia. La mejor práctica es alojar su negocio donde tenga la mayoría de los clientes.
Pero en caso de que tenga una clientela global, entonces optar por una red de entrega de contenido (CDN) podría resolver esto. Cuidado, aunque hay CDN gratis en el mercado, su uso puede afectar negativamente a su propiedad web.
Entonces, si usa uno, es mejor realizar un auditoría del sitio web para verificar los cambios.
Regular updating of the software can be the next in line to improve high network latency. In addition, make sure your hardware is capable enough to utilize the full network potential.
Besides, wireless networks generally have a greater amount of lag. So, try to use wired connections wherever possible. Besides, going for best-in-class fiber networks will further help to minimize lag.
Adiciónally, using HTTP/2 also cuts down latency by simultaneously loading various page elements, among other things. You can check this by Geekflare, Prueba HTTP / 2.
finalally, try to implement data caching and optimize the media for a minimum lag.
Para Concluir
Una gran experiencia de usuario es la clave del éxito para cualquier organización. Y si tiene un negocio en línea, es mejor que tome en serio el aspecto de la velocidad.
Pero hay algunas cosas más que debe considerar para optimiza tu sitio web.