Skip to content

ZSTD compression support #1815

Open
Open
@sidorares

Description

@sidorares

currently only CLIENT_COMPRESS capability flag is supported ( inflate/deflate - https://www.rfc-editor.org/rfc/rfc1951.html )

when server sends CLIENT_ZSTD_COMPRESSION_ALGORITHM (1UL << 26) the client may elect to accept it

http://facebook.github.io/zstd/

https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_compression.html
https://dev.mysql.com/doc/dev/mysql-server/latest/group__group__cs__capabilities__flags.html

looks like not in the node core, and most packages are compiled binary.
have as optional dependency and accept if installed?

https://github.com/mongodb-js/zstd

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions