https://github.com/mostynb/go-grpc-compression
go gRPC encoding wrappers for some useful compression algorithms that are not available in google.golang.org/grpc
https://github.com/mostynb/go-grpc-compression
go golang grpc lz4 snappy zstandard zstd
Last synced: 5 months ago
JSON representation
go gRPC encoding wrappers for some useful compression algorithms that are not available in google.golang.org/grpc
- Host: GitHub
- URL: https://github.com/mostynb/go-grpc-compression
- Owner: mostynb
- License: apache-2.0
- Created: 2020-07-01T07:13:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T23:40:19.000Z (10 months ago)
- Last Synced: 2025-05-16T13:07:19.580Z (5 months ago)
- Topics: go, golang, grpc, lz4, snappy, zstandard, zstd
- Language: Go
- Homepage:
- Size: 108 KB
- Stars: 27
- Watchers: 3
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# go-grpc-compression
This respository contains go gRPC encoding wrappers for some useful compression
algorithms that are not available in google.golang.org/grpc.* github.com/mostynb/go-grpc-compression/lz4 - using https://github.com/pierrec/lz4
* github.com/mostynb/go-grpc-compression/snappy - using https://github.com/golang/snappy
* github.com/mostynb/go-grpc-compression/zstd - using https://github.com/klauspost/compress/tree/master/zstdThe following algorithms also have experimental implementations, which have
not been tested as much as those above. These may be changed significantly, or
even removed from this library at a future point.* github.com/mostynb/go-grpc-compression/experimental/klauspost_snappy - using https://github.com/klauspost/compress/tree/master/s2
in snappy compatibility mode
* github.com/mostynb/go-grpc-compression/experimental/s2 - using https://github.com/klauspost/compress/tree/master/s2Importing any of the packages above will override any previously registered
encoders with the same name. If you would prefer imports to only register
the encoder if there is no previously registered encoder with the same name,
then you should instead import one of the following packages:* github.com/mostynb/go-grpc-compression/nonclobbering/lz4
* github.com/mostynb/go-grpc-compression/nonclobbering/snappy
* github.com/mostynb/go-grpc-compression/nonclobbering/zstd
* github.com/mostynb/go-grpc-compression/nonclobbering/experimental/klauspost_snappy
* github.com/mostynb/go-grpc-compression/nonclobbering/experimental/s2