casper-network / casper-network/casper-node

Minimize memory and deserialization overhead when sending requested data over the network

Open
#3,756 1 comment 0 reactions 1 assignee Claimed by @marc-casperlabs View on GitHub
networking
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

Description: We currently send a lot of data straight from storage to a peer, without any necessary deserialization occurring. This can be optimized (although potentially unsafe-ly) to directly supply these bytes from LMDB pages from storage; at the very least we should ensure that the wrapped data passes through without being copied straight to the networking layer. The extent of the optimization is to be figured out during the implementation of this ticket.
This optimization is strictly for 1.6+, which has the necessary Buf-based data structures already in place.
Assignee: me
Epic: 2.0.0
Sprint: upcoming
Points: 8

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.