IntersectMBO / IntersectMBO/ouroboros-network

Optimise block fetch decision logic in bulk sync mode

Open
#3,929 0 comments 0 reactions 0 assignees View on GitHub
block-fetch technical debt
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

The block fetch decision logic shows up high in profile output.

@dcoutts:
> The overall point is that we're making fetch decisions too frequently. Each decision is probably appropriately expensive, but we're making them too frequently, at least in bulk fetch mode.
>
> I suspect we're requesting rather short ranges of blocks, and doing so too frequently. It'd be better to make fewer decisions, and fetch larger ranges of blocks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.