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

Sync Feb 21 #531

Merged
merged 4 commits into from
Feb 22, 2025
Merged

Sync Feb 21 #531

merged 4 commits into from
Feb 22, 2025

Conversation

eaufavor
Copy link
Member

No description provided.

eaufavor and others added 4 commits February 21, 2025 15:36
Older HTTP versions don't really support it.
Adjusts the pingora-header-serde internals to use a preloaded zstd
dictionary when one is specified.

Previously the thread_zstd mod used `(de)compress_using_dict` zstd safe
calls, which are part of the "simple" zstd API and would load the
dictionary on every operation, adding non-trivial CPU cost.
This change instead changes the compression APIs to use dictionaries
through the "bulk processing" APIs which accept preloaded `CDict` and
`DDict`s, at the cost of needing to specify the compression level in
advance.
@eaufavor eaufavor force-pushed the bleeper-yuchen-595e312ee6 branch from 9f5a24c to a9735ba Compare February 21, 2025 23:36
@eaufavor eaufavor merged commit eef3576 into main Feb 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants