celestiaorg / celestia-app

Celestia consensus node
https://celestiaorg.github.io/celestia-app/
Apache License 2.0
345 stars 285 forks source link

EPIC: Short term block propagation improvements #2811

Open evan-forbes opened 11 months ago

evan-forbes commented 11 months ago

There are currently a few changes that should be easy to incorporate while potentially have a large impact on the efficiency and effectiveness of block propagation. We should investigate these individually by running experiments against a control network. For each of the listed experiments, we need a report that measures the difference in:

We need to know if these improvements along will enable the consensus layer to get to 32MB blocks without making more advanced changes in gossiping.

Experiments

Tasks

staheri14 commented 11 months ago

Since reactors may be responsible for different channel IDs, it would be more insightful to get "percentage of bandwidth used by each channel ID and per peer over time" (in replace of Percentage of bandwidth used by each reactor over time). Update: I see that this has been covered in an earlier item "Total bandwidth used per MB of block data per peer per channel", though, I am not sure how the "per MB of block data" impacts the calculation, mind elaborating?

One additional consideration: perhaps actual traffic per channel/reactor would be more informative than just percentages. Percentages show the bandwidth distribution among components, but these ratios can stay constant even if the actual bandwidth fluctuates. Monitoring the specific traffic values could provide a clearer picture of network health, unless the relationships between reactors/channel IDs are crucial for the analysis.

staheri14 commented 11 months ago

I would also consider including the following metrics: