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.

Home Page:https://goreplay.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Zstandard compression

sabi0 opened this issue · comments

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 ....