April 30 2024

ZSTD officially arrives on Chrome as a resource compression algorithm.

Zstandard supported by Chrome: new era for hosting with improvements in speed, efficiency and bandwidth optimization.

Chrome-ZStandard

Technological innovation never stops, and a recent development in the world of web browsers promises to revolutionize the way we interact with the Internet. Google Chrome, the most used browser in the world, has introduced support for Zstandard (zstd), a data compression algorithm developed by Yann Collet of Meta (formerly Facebook). This move could mark a significant step forward in improving web page loading speeds and reducing bandwidth usage.

What is Zstandard or ZSTD?

Zstandard is a lossless data compression algorithm originally developed by Yann Collet while working for Facebook. First launched on August 31, 2016, Zstandard was designed to offer a compression ratio comparable to that of the DEFLATE algorithm, used in the original 1991 ZIP and gzip programs, but with higher speed, especially during decompression. The algorithm is known for its ability to be adapted to different compression levels, from -7 (the fastest) to 22 (the slowest in compression but the best in terms of compression ratio).

One of Zstandard's distinguishing features is its ability to implement long-distance search and deduplication, similar to that offered by rzip or lrzip, starting from version 1.3.2. Additionally, it offers an “adaptive” mode that varies the level of compression based on I/O conditions, primarily how fast it can write output.

We have already discussed Zstandard in this post (ZStandard, the standard Facebook compression that is not so standard.) having in fact become the standard way for compressing backups in our company, which allows us to obtain, for example, an average saving of 50% in the storage of MySQL backups.

Implementation in Google Chrome

Last March 2024, Google added support for Zstandard in Chrome version 123, allowing this algorithm to be used in the HTTP Content-Encoding header. This implementation allows for more efficient data compression, which results in web pages that load faster, use less bandwidth, require less time, less CPU and less compression time for servers, thus also reducing costs operational.

Chrome ZSTD

Despite the great enthusiasm that greeted the introduction of Zstandard, currently support at the web server level remains rather limited. This landscape may soon change with the release of Zstd 1.5.6, an updated version that not only introduces new features specifically designed to improve the management of incremental updates in browsers, but also extends support to a wider variety of hardware architectures, such as SPARC64, ARM64EC and RISC-V. These improvements are designed to stimulate broader adoption of Zstandard by browsers and software in general, increasing its applicability and effectiveness in processing web data.

Can i use - ZSTD

It is important to underline that, in the current technological landscape, talking about Chrome predominantly means referring to Chromium. Chromium is an open-source web browser project from which Google Chrome draws its source code. This platform is the basis not only for Google Chrome, but also for a number of other significant browsers. These include Microsoft Edge, Opera and Brave, which are developed using the same rendering engine as Chromium. As a result, the integration of Zstandard into Chromium means that this compression functionality will also be adopted and implemented in these other browsers in their upcoming updates.

Advantages over Brotli

Before the advent of Zstandard, Brotli was one of the favorite compression algorithms for managing web traffic, praised for its effectiveness in reducing the size of transmitted data and improving web page loading times. Brotli, developed by Google, was introduced in 2015 and has since become a standard for HTTP compression, thanks largely to its ability to achieve a good balance between compression speed and compression ratio, making it particularly useful for the web.

Brotli VS Zstandard Benchmark

 

However, with the introduction of Zstandard, new advantages have emerged that could tip the scales in its favor in many usage scenarios. Zstandard offers significantly greater flexibility and decompression speed that generally exceeds that of Brotli, two factors crucial to the performance of the modern web.

Technical advantages of Zstandard over Brotli

  1. Decompression speed: Zstandard is designed to decompress data at very high speeds, regardless of the compression level used. This is especially beneficial for web applications that need fast loading times. While Brotli offers excellent compression, its decompression speed can be up to three times slower than Zstandard for the same compression ratio. For example, benchmark tests show that while Zstandard can decompress data at speeds exceeding 1000 MB/s on modern hardware, Brotli often falls short of 400 MB/s.
  2. Flexibility: Zstandard supports a very wide range of compression levels, from very fast to very powerful. This allows developers to choose the best balance between speed and efficiency depending on the specific needs of their application or network environment. Brotli, while highly configurable, offers less granularity in compression levels, which can limit its applicability in scenarios where customization is key.
  3. Efficiency under variable network conditions: Zstandard works exceptionally well in a variety of network conditions, maintaining its efficiency even when bandwidth is limited or latency is high. This makes it ideal for mobile environments or for users accessing web content from regions with less developed network infrastructures.
  4. Adaptability and supporting technologies: Zstandard includes features such as dictionary compression and a training mode that can further improve the compression ratio for specific datasets. This can be particularly useful for applications such as databases, system logs, and file transfers that have many redundancies. Brotli also supports dictionary-based compression, but Zstandard's training technology is more advanced, offering better performance especially with small file sizes.

Impact on Hosting services and Existing Systems

The introduction of Zstandard as a compression algorithm supported by Chrome presents a significant opportunity for system engineers and hosting providers. These professionals must now evaluate how their systems can be optimized to make the most of Zstandard's capabilities, while ensuring compatibility with browsers that do not yet support this algorithm.

One of the crucial aspects concerns updating the servers to support the new encoding. This step may require initial investments in time and resources, but it is essential to maintaining competitiveness in the hosting market. With the increased decompression speeds and flexibility offered by Zstandard, hosting services that adopt this technology early can deliver dramatically improved user experiences, resulting in faster page load times and more efficient use of bandwidth.

Furthermore, hosting services aiming to position themselves as leaders in the web performance industry will inevitably need to support Zstandard compression in addition to Brotli. This is not just a question of offering a new technology but becomes a distinctive element of technical superiority and ability to adapt to the modern needs of speed and efficiency of the Internet.

As regards our company, which has always been focused on research and development, while awaiting the stable production of Chrome and the browsers developed on top of Chromium, we have decided in our Roadmap to deliver by September 2024 , our entire web software stack is ZSTD compatible, starting from NGINX up to Varnish, guaranteeing an optimal testing time in these 4 months, as well as the relevant benchmarks, in order to offer, as always, the best enterprise-level hosting both for generic hosting and for specific hosting such as WordPress Hosting for example.

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