Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support zstandard encoded request/response content #6600

Closed
bjorncs opened this issue Aug 11, 2021 · 11 comments
Closed

Support zstandard encoded request/response content #6600

bjorncs opened this issue Aug 11, 2021 · 11 comments

Comments

@bjorncs
Copy link
Contributor

bjorncs commented Aug 11, 2021

From https://facebook.github.io/zstd/:

Zstandard is a fast compression algorithm, providing high compression ratios. It also offers a special mode for small data, called dictionary compression. The reference library offers a very wide range of speed / compression trade-off, and is backed by an extremely fast decoder (see benchmarks below). Zstandard library is provided as open source software using a BSD license. Its format is stable and published as IETF RFC 8878.

Zstandard has improved performance/compression ratio over gzip. It's already supported by some HTTP clients (e.g curl https://daniel.haxx.se/blog/2020/08/19/curl-7-72-0-more-compression/).

@joakime
Copy link
Contributor

joakime commented Aug 11, 2021

@github-actions
Copy link

This issue has been automatically marked as stale because it has been a
full year without activity. It will be closed if no further activity occurs.
Thank you for your contributions.

@github-actions github-actions bot added the Stale For auto-closed stale issues and pull requests label Aug 12, 2022
@sbordet sbordet removed the Stale For auto-closed stale issues and pull requests label Aug 12, 2022
@Mahdi-Seeker
Copy link

Any progress on this issue?

@joakime
Copy link
Contributor

joakime commented Oct 26, 2022

Spec is at https://www.rfc-editor.org/rfc/rfc8878

This labeled as a "low priority" and "help wanted".

Do you even know of any 100% Java based implementations of this spec that can do compression & decompression?

@georgew5656
Copy link

It looks like the airlift package you posted above will work. Are you still open to taking contributions on this? I can try to take a look.

@joakime
Copy link
Contributor

joakime commented Dec 7, 2022

@georgew5656 go for it, base your work on branch jetty-10.0.x please, we'll handle the merging to other branches from there (once approved).

Copy link

github-actions bot commented Dec 8, 2023

This issue has been automatically marked as stale because it has been a
full year without activity. It will be closed if no further activity occurs.
Thank you for your contributions.

@github-actions github-actions bot added the Stale For auto-closed stale issues and pull requests label Dec 8, 2023
@joakime joakime added Pinned Issues that never go stale and removed Stale For auto-closed stale issues and pull requests labels Dec 8, 2023
@arsenalzp
Copy link
Contributor

Hello,
Is this issue still valid and waiting for implementation?

@joakime
Copy link
Contributor

joakime commented Nov 27, 2024

Jetty 12.1.0 has a new CompressionHandler that supports zstandard, brotli, and gzip.

@joakime
Copy link
Contributor

joakime commented Nov 27, 2024

The 12.1.0.alpha0 release has a version of that implementation right now.

See: https://repo1.maven.org/maven2/org/eclipse/jetty/compression/

Note: the implementation in 12.1.0.alpha0 is experimental at this point in time.
The API isn't fully settled on it.
Feedback would be welcome.

@joakime
Copy link
Contributor

joakime commented Nov 27, 2024

@joakime joakime closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants