You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Establish and implement the relevant metrics to understand storage workloads #46
We need to identify the set of metrics to understand the storage workloads of CometBFT. The metrics should help us identify:
The access patterns (sequential / random access)
How often the data is read/written
Who reads/writes the data
Is the data accessed by multiple components or just one.
How much of the total height time is spent in storage - on a small network, on a big network? (Is storage a bottleneck? )
Open questions: Do we want information on which CometBFT Blockstore / StateStore method call triggered the access or is read/write/delete count and timing enough?
Storage access time (last point in the issue description)
Which data is most frequently read
The amount of storage taken by different workloads with and without pruning
The throughout with and without pruning - This was derived from a call with Injective whose users' latency was heavily impacted by pruning being enabled.
This list might be altered after an in person meeting of the team deciding on the exact measurments that will help us achieve our Q4 goals.
The main result of this testing should be :
Showing that the impact of pruning has improved - compaction works
Database access times have decreased
Impact of the new pruning mechanism on throughput
Impact of different key representation + new pruning mechanism on throughput.
The throughout with and without pruning - This was derived from a call with Injective whose users' latency was heavily impacted by pruning being enabled.
The throughput can be hard to measure as it depends on many factors. Is it better to measure the duration of pruning (if possible)? This is similar to how the Golang core team optimised their garbage collector by looking at the duration of GC pauses.
Activity
jmalicevic commentedon Nov 22, 2023
For Q4 2023, we will focus on:
This list might be altered after an in person meeting of the team deciding on the exact measurments that will help us achieve our Q4 goals.
The main result of this testing should be :
melekes commentedon Nov 28, 2023
The throughput can be hard to measure as it depends on many factors. Is it better to measure the duration of pruning (if possible)? This is similar to how the Golang core team optimised their garbage collector by looking at the duration of GC pauses.
feat(storage/metrics): Metrics to measure storage (#1974)
feat(storage/metrics): Metrics to measure storage (#1974)
docs(changelog): add entry for unsync local client (cometbft#46)