You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/deps/zstd
René Cannaò df97ae9009
Add documentation for zstd static linking
3 weeks ago
..
README.md Add documentation for zstd static linking 3 weeks ago
zstd Add documentation for zstd static linking 3 weeks ago
zstd-1.5.7.tar.gz Add static linking for zstd compression library 3 weeks ago

README.md

zstd - Zstandard Compression Library

This directory contains the zstd compression library used by ProxySQL for compressed protocol support in MySQL and PostgreSQL connections.

Source

Build

The library is built automatically by the ProxySQL build system:

cd deps/zstd && tar -zxf zstd-1.5.7.tar.gz
cd zstd/zstd/lib && make libzstd.a

Static Linking

zstd is statically linked into ProxySQL to eliminate runtime dependencies on system libraries. This ensures consistent behavior across different platforms (Linux, macOS, FreeBSD).

Usage in ProxySQL

  • MySQL compressed protocol (mysql_compression)
  • PostgreSQL compressed protocol support
  • Used by mysql_data_stream.cpp and MySQL_Protocol.cpp