Network Latency

What Is Network Latency?

Network latency is the time it takes for a packet of data to travel from one point to another.

This includes the physical distance the data travels and how long it takes to be processed.

From Gaming to Web Browsing

The acceptable amount of acceptable latency depends on what you’re doing online.

Gaming and video chatting have higher latency thresholds than email and web browsing.

Information technology experts say that 50 milliseconds — one-tenth of a second — is about as much lag as the human brain can handle.

While that’s enough for most people, gamers may want lower latencies.

Professional gamers consider anything over 100 milliseconds (1/10th of a second) too much lag for an optimal experience.

The Significance of Low Latency in Blockchain

The lower the displayed latency, the better.

A low bandwidth connection, overloaded servers, or full router queues can cause high latency.

Network latency is expressed in milliseconds (ms).

The factor of network latency is quite crucial when it comes to blockchain and cryptocurrencies.

This is because it directly affects the time a transaction takes to be confirmed.

Blockchains are based on a consensus mechanism where miners rely on speed to earn rewards.

Every second that a new block isn’t found and added to the blockchain, potential revenue is lost.

Correlation Between Latency and Throughput

Latency is a measurement of time, the time it takes for a transaction to be completed.

Throughput is the amount of work measured in the number of transactions per second.

Increasing the throughput of HTTP requests without considering latency will only cause performance issues.

The goal should be to increase throughput while keeping latency low.

The best way to optimize is to decrease the number of HTTP requests or the response time from your servers.

It is also a good idea to consolidate database calls where possible and try to cache as much data as possible.