buger / goreplay

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
https://goreplay.org
Other
18.59k stars 17 forks source link

Add support for Zstandard compression #1156

Open sabi0 opened 1 year ago

sabi0 commented 1 year ago

Zstandard provides much better compression (and speed!) than gzip (uncompressed: 5580 MB, gzip: 1517 MB, zstd: 717 MB). It would be great if GoReplay was able to read the input from zstd compressed files. Compressing output with zstd would be nice too, of course.

P.S. Unfortunately gor does not seem to support reading the input from stdin either. So one cannot do zstd -d recording.gor.zst | gor ....