chipsenkbeil / chipsenkbeil/distant

Compress request & response byte formats

Open
#198 0 comments 0 reactions 0 assignees View on GitHub
breaking refactor
Dominant language
Rust
Stars
635
Forks
12
PR merge metrics
No merged PRs in 30d

Description

We read keys from a msgpack map in order. We can translate this to an array instead where we still read in order, but this will reduce the byte size of our requests and responses.

* Requests will shrink by 2 ("id") + 7 ("payload") + an optional 6 ("header"): 9 to 15 bytes.
* Responses will shrink by 2 ("id") + 9 ("origin_id") + 7 ("payload") + an optional 6 ("header"): 18 to 24 bytes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.