-
Notifications
You must be signed in to change notification settings - Fork 982
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 ZSTD compression #4204
Comments
Hi Daniel. I confirm that ProxySQL doesn't support ZSTD for either frontend or backend connections. Thanks |
Compression could be useful to reduce data transfer costs in the Cloud. Many client libraries support compression. Many client libraries don't support zstd yet. The Go sql driver unfortunately doesn't support compression yet. Having ProxySQL with uncompressed frontend and compressed backand could help to reduce cost in the cloud. Other features like query caching could also help with this. Some data on compression: With
With
With
zstd:
zlib:
|
This could be useful for performance testing: akopytov/sysbench#487 |
If I am reading the above correctly, zlib compresses better than zstd .
This is already possible! A minor note: mysql (both the client and server) only compresses data larger than 50 bytes . |
Oh, I see the PR on akopytov/sysbench#487 , that was fast! 😄 |
The MySQL protocol support zlib (
CLIENT_COMPRESS
) and zstd (CLIENT_ZSTD_COMPRESSION_ALGORITHM
) compression. Zstandard allows for better compression ratio and performance.However it looks like the MariaDB libs don't support this yet: https://jira.mariadb.org/browse/MDEV-22310
Compression is useful to reduce cross-AZ data tranfer cost in Cloud deployments.
The text was updated successfully, but these errors were encountered: