-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce GPBFT message compression #786
Milestone
Comments
On further discussion, backward compatibility might not be worth it if enough nodes with power don't upgrade. Opting to make it optional in manifest as on or off thing. |
masih
added a commit
that referenced
this issue
Dec 12, 2024
Add the ability to compress GPBFT messages controllable via manifest. Implement benchmarks to compare vanilla CBOR and ZSTD encoding. Basic local run: ``` BenchmarkCborEncoding-12 47173 25491 ns/op 135409 B/op 87 allocs/op BenchmarkCborDecoding-12 64550 18078 ns/op 61728 B/op 209 allocs/op BenchmarkZstdEncoding-12 29061 41489 ns/op 193455 B/op 88 allocs/op BenchmarkZstdDecoding-12 66172 17924 ns/op 176517 B/op 211 allocs/op ``` Fixes #786
masih
added a commit
that referenced
this issue
Dec 13, 2024
Add the ability to compress GPBFT messages controllable via manifest. Implement benchmarks to compare vanilla CBOR and ZSTD encoding. Basic local run: ``` BenchmarkCborEncoding-12 47173 25491 ns/op 135409 B/op 87 allocs/op BenchmarkCborDecoding-12 64550 18078 ns/op 61728 B/op 209 allocs/op BenchmarkZstdEncoding-12 29061 41489 ns/op 193455 B/op 88 allocs/op BenchmarkZstdDecoding-12 66172 17924 ns/op 176517 B/op 211 allocs/op ``` Fixes #786
masih
added a commit
that referenced
this issue
Dec 13, 2024
Add the ability to compress GPBFT messages controllable via manifest. Implement benchmarks to compare vanilla CBOR and ZSTD encoding. Basic local run: ``` BenchmarkCborEncoding-12 47173 25491 ns/op 135409 B/op 87 allocs/op BenchmarkCborDecoding-12 64550 18078 ns/op 61728 B/op 209 allocs/op BenchmarkZstdEncoding-12 29061 41489 ns/op 193455 B/op 88 allocs/op BenchmarkZstdDecoding-12 66172 17924 ns/op 176517 B/op 211 allocs/op ``` Fixes #786
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 13, 2024
Add the ability to compress GPBFT messages controllable via manifest. Implement benchmarks to compare vanilla CBOR and ZSTD encoding. Basic local run: ``` BenchmarkCborEncoding-12 47173 25491 ns/op 135409 B/op 87 allocs/op BenchmarkCborDecoding-12 64550 18078 ns/op 61728 B/op 209 allocs/op BenchmarkZstdEncoding-12 29061 41489 ns/op 193455 B/op 88 allocs/op BenchmarkZstdDecoding-12 66172 17924 ns/op 176517 B/op 211 allocs/op ``` Fixes #786
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on the experiment performed as part of passive testing network
filecoin/46
compressed GPBFT messages are on average 60% smaller. This makes compression of messages a worthwhile exercise considering the small footprint of compression on resource consumption. See: #757 (comment)Ideally, the compression introduced as part of this work should be backward compatible:
The text was updated successfully, but these errors were encountered: