Enable zstd compression #344
Closed
akiradeveloper
started this conversation in
Ideas
Replies: 2 comments
-
I think we don't need to add anything at all. We can use zstd compression by adding some modification to the test code. Serverlet raft_svc = lolraft::raft_service::new(node); Add .send_compressed(CompressionEncoding::Gzip)
.accept_compressed(CompressionEncoding::Gzip); Clientimpl Client {
pub fn new(conn: Channel) -> Self {
let cli = RaftClient::new(conn); Add .send_compressed(CompressionEncoding::Gzip)
.accept_compressed(CompressionEncoding::Gzip); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tonic 0.11 implements zstd support. How about introduce zstd to lolraft?
Beta Was this translation helpful? Give feedback.
All reactions