March 21 2023

IPv6 to improve network efficiency, reduce latency and improve TTFB

Let's discover some interesting properties of IPv6 compared to IPv4 that can be our allies to improve network performance.

IPv6

Over the years we have always taken care to improve the performance of our customers' websites, taking care to adopt all the technologies and configurations available on the market in order to offer a pleasant and profitable user experience, as well as to offer the best conditions to search engine crawlers, especially Google.

We have covered on several occasions concepts that affect the Time To First Byte, better known by the acronym TTFB, however we have never focused on a secondary aspect, but also important, such as the use of IPv6 in conjunction with IPv4.

What is IPv6 and IPv4?

If you're a technology and internet enthusiast, you've surely heard of IPv4 and IPv6.

Already at the dawn of the 2000s, in the first year of University at UNICAM there was a lot of talk about how IP addresses were running out, generating curiosity and a pinch of interest that we would have somehow just mentioned in the Networks Course.

Many years have passed, meanwhile, and the fear of running out of IPv4 addresses has always been perceived as a sort of urban legend, at least until these last 2 or 3 years.

To date, in fact, on the threshold of 2024, we are increasingly aware of how what at the time seemed like a prophecy (depletion of IP addresses ed), is an increasingly real and present problem, and if there let's forget it, there are always invoices from Hosting Providers that remind us that IPs that were once free, today have an ever increasing cost precisely because of the scarcity and difficulty in finding IP addresses.

What led to IPv4 becoming a valuable commodity

The IPv4 market is driven by scarcity and presents a challenge for companies looking to grow their business. While we haven't technically run out of IP addresses completely, the available IPv4 resources are rapidly running out. Less than 1% of world supply remains to be allocated. However, much unused IPv4 remains in the hands of large organizations.

It's worth noting that some organizations returned large blocks of IPv4 addresses. Including Stanford University which returned its block of Class A IP addresses in 2000, making 16 million IP addresses available. Other organizations that have done so include the US Department of Defense, Interop and BBN Technologies.

All in all, the pool of 4,29 billion IPv4 addresses is nearly depleted. As a result, the cost per IP address is skyrocketing. In December 2014, the average price for a single IPv4 address was around $10. As of January 2017, the average price for the same resource had risen to around $15 per IP. By February 2018 – $20 per IP.

IPv4-Sale-Price-2023

On average, IPv4 prices increase by 25% every year and in 2022 the average was around $45-$50. Needless to say, we can expect further increases in the years to come.

The rapid depletion and high market demand for IPv4 addresses has contributed significantly to the ever-increasing prices. Back when IP prices were around $5 per IP, no one thought they would go up fivefold. And even with those prices, telecom companies have struggled to get on board with customers due to a shortage of IPv4 addresses. Naturally, decreasing supply and growing demand for IP addresses increases their value.

What are the differences between IPv4 and IPv6?

First, IPv4 is the original IP protocol that has been used by the Internet since the 80s. However, as the number of devices connected to the Internet has grown exponentially, the limitations of IPv4 have become increasingly apparent. In particular, the limited number of available IPv4 addresses (about 4 billion) is rapidly running out.

That is why IPv6 was developed. This protocol uses a larger address format (128 bits as opposed to IPv32's 4 bits), allowing for a virtually unlimited number of IP addresses. This not only solves the problem of scarcity of IPv4 addresses, but also allows for a number of improvements in terms of DNS resolution and connection speed.

IPv4VS IPv6

For example, IPv6 allows for faster DNS resolution by using DNS AAAA (IPv6) records instead of DNS A (IPv4) records. Additionally, IPv6 supports direct connection between devices, eliminating the need to use a network address translation (NAT) server to connect to the Internet. This means that the connection can be established faster and more reliably.

Finally, IPv6 can significantly improve TTFB (Time To First Byte), which is the time it takes for the server to send the first piece of data in response to an HTTP request. With IPv6, TTFB can be reduced due to increased network efficiency and reduced latency.

How does IPv6 affect server responsiveness?

To better understand how IPv6 can affect server response speed and therefore TTFB, it is important to make a comparison between the two protocols. There are several studies and benchmarks that have analyzed the differences between IPv4 and IPv6 in terms of TTFB.

A study conducted by Google found that the average latency between client and server was lower on IPv6 than on IPv4. In particular, the average latency on IPv6 was 14,5 milliseconds, while on IPv4 it was 22,5 milliseconds. This means that TTFB can be significantly improved by using IPv6.

 

Another study conducted by Sucuri also analyzed the differences between the two protocols. The test involved 50 popular websites, including Google, Facebook and YouTube. The results showed that TTFB was on average 3% lower on IPv6 than on IPv4.

Additionally, the test found that TTFB over IPv6 was consistent and predictable, while over IPv4 it was more variable and less reliable. This is mainly due to IPv4 network congestion, which can cause server response delays.

Finally, another study conducted by Akamai showed that TTFB over IPv6 was on average 22% lower than over IPv4. The test involved 32 websites and used a variety of analytics tools to measure the performance of the two protocols.

 

In conclusion, the benchmarks and studies conducted so far show that IPv6 can significantly improve TTFB compared to IPv4. This means that websites and applications using IPv6 can offer a better user experience, with faster response times and improved reliability. It is therefore important that hosting services support IPv6 to offer the best possible service to their customers.

Managed Server Srl natively offers IPV6 in all High Performance Hosting solutions.

Do you have doubts? Don't know where to start? Contact us!

We have all the answers to your questions to help you make the right choice.

Chat with us

Chat directly with our presales support.

0256569681

Contact us by phone during office hours 9:30 - 19:30

Contact us online

Open a request directly in the contact area.

INFORMATION

Managed Server Srl is a leading Italian player in providing advanced GNU/Linux system solutions oriented towards high performance. With a low-cost and predictable subscription model, we ensure that our customers have access to advanced technologies in hosting, dedicated servers and cloud services. In addition to this, we offer systems consultancy on Linux systems and specialized maintenance in DBMS, IT Security, Cloud and much more. We stand out for our expertise in hosting leading Open Source CMS such as WordPress, WooCommerce, Drupal, Prestashop, Joomla, OpenCart and Magento, supported by a high-level support and consultancy service suitable for Public Administration, SMEs and any size.

Red Hat, Inc. owns the rights to Red Hat®, RHEL®, RedHat Linux®, and CentOS®; AlmaLinux™ is a trademark of AlmaLinux OS Foundation; Rocky Linux® is a registered trademark of the Rocky Linux Foundation; SUSE® is a registered trademark of SUSE LLC; Canonical Ltd. owns the rights to Ubuntu®; Software in the Public Interest, Inc. holds the rights to Debian®; Linus Torvalds holds the rights to Linux®; FreeBSD® is a registered trademark of The FreeBSD Foundation; NetBSD® is a registered trademark of The NetBSD Foundation; OpenBSD® is a registered trademark of Theo de Raadt. Oracle Corporation owns the rights to Oracle®, MySQL®, and MyRocks®; Percona® is a registered trademark of Percona LLC; MariaDB® is a registered trademark of MariaDB Corporation Ab; REDIS® is a registered trademark of Redis Labs Ltd. F5 Networks, Inc. owns the rights to NGINX® and NGINX Plus®; Varnish® is a registered trademark of Varnish Software AB. Adobe Inc. holds the rights to Magento®; PrestaShop® is a registered trademark of PrestaShop SA; OpenCart® is a registered trademark of OpenCart Limited. Automattic Inc. owns the rights to WordPress®, WooCommerce®, and JetPack®; Open Source Matters, Inc. owns the rights to Joomla®; Dries Buytaert holds the rights to Drupal®. Amazon Web Services, Inc. holds the rights to AWS®; Google LLC holds the rights to Google Cloud™ and Chrome™; Microsoft Corporation holds the rights to Microsoft®, Azure®, and Internet Explorer®; Mozilla Foundation owns the rights to Firefox®. Apache® is a registered trademark of The Apache Software Foundation; PHP® is a registered trademark of the PHP Group. CloudFlare® is a registered trademark of Cloudflare, Inc.; NETSCOUT® is a registered trademark of NETSCOUT Systems Inc.; ElasticSearch®, LogStash®, and Kibana® are registered trademarks of Elastic NV Hetzner Online GmbH owns the rights to Hetzner®; OVHcloud is a registered trademark of OVH Groupe SAS; cPanel®, LLC owns the rights to cPanel®; Plesk® is a registered trademark of Plesk International GmbH; Facebook, Inc. owns the rights to Facebook®. This site is not affiliated, sponsored or otherwise associated with any of the entities mentioned above and does not represent any of these entities in any way. All rights to the brands and product names mentioned are the property of their respective copyright holders. Any other trademarks mentioned belong to their registrants. MANAGED SERVER® is a trademark registered at European level by MANAGED SERVER SRL, Via Enzo Ferrari, 9, 62012 Civitanova Marche (MC), Italy.

JUST A MOMENT !

Would you like to see how your WooCommerce runs on our systems without having to migrate anything? 

Enter the address of your WooCommerce site and you will get a navigable demonstration, without having to do absolutely anything and completely free.

No thanks, my customers prefer the slow site.
Back to top