Skip to Main Content
Cloud Platform


This is an IBM Automation portal for Cloud Platform products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Submitted
Workspace WebSphere Liberty
Created by Guest
Created on Nov 28, 2024

Add zstd http channel output compression

Zstd is currently the best compression available:

  • zstd is supported for a year now in all major browsers
  • zstd uses less CPU
  • It achieves better or on-par compression than brotli and gzip
  • It uses way less real time to achieve better compression

Hint: Browsers  will only annouonce zstd support on https connections.

Here is a comparison on AIX for a 7 MiB javascript file:

Algo     Level    Time        Size      Size %
Baseline             0      7666149    100,0000%
gzip       6       466      2036606     26,5662%
zstd       3        77      2085469     27,2036%

 

This one is for Linux on x64:

Algo     Level    Time        Size      Size %
Baseline             0      7666149    100,0000%
gzip       6       487      2036606     26,5662%
zstd       3        73      2097140     27,3558%


When a dictionary is added, the compression gets even better than that.
 

Actual CPU usage on a Mac:

$ time zstd -3 --keep chunk-vendors.bundle.js -o chunk-vendors.bundle.js.3.zstd
chunk-vendors.bundle.js : 27.20%   (  7.31 MiB =>   1.99 MiB, chunk-vendors.bundle.js.3.zstd)
zstd -3 --keep chunk-vendors.bundle.js -o chunk-vendors.bundle.js.3.zstd 0.03s user 0.01s system 56% cpu 0.073 total

$ time gzip  -6 -k chunk-vendors.bundle.js; ls -lF chunk-vendors.bundle.js.gz
gzip -6 -k chunk-vendors.bundle.js  0.25s user 0.01s system 98% cpu 0.263 total
-rw-r--r--@ 1 user  group  2035493 26 Nov 13:50 chunk-vendors.bundle.js.gz

 

 

https://github.com/OpenLiberty/open-liberty/issues/30297

Idea priority Medium