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
Define external users and use cases for the CometBFT storage layer #68
We do not have a complete picture on how our users as well as different CometBFT components interact with storage. We therefore need to collect all the relevant use cases for the storage backend. While issue #67 captures internal storage use cases, we need to understand how CometBFT storage is used not including CometBFT itself:
Who are the main users and how are they using CometBFT storage (validators, sentries, full nodes, relayers, etc., but with specific emphasis on what people are doing with full nodes).
What are their pain points with regards to storage (usage, querying time, impact from unavailable data) ?
What types of queries do they typically run agains CometBFT?
What RPC endpoints are relevant? Are all fields returned by the endpoint of importance?
How big is their data (block, genesis file)?
Do they enable data indexing ?
DoD
A list of different users, their typical usage patterns and issues with regards to CometBFT storage.
Make sure we understand what types of data they access and whether and how we could allow them to configure individual storage usage.
changed the title [-]Define storage use cases and workloads[/-][+]Define external users and use cases for the CometBFT storage layer[/+]on Mar 29, 2023
In order for this to not be an open-ended research topic, it would make sense to limit the census to several important customers (by production share, ecosystem importance, foundation partnerships, and possible other factors) in each category, in assumption that the usage patterns within each application category are largely similar.
For Q3, we can close this issue and expand on new findings as needed.
The validator team has shared with us a document explaining their detailed use cases. Their main problem is that the pruning mechanism is not actually freeing storage space on disk. Additionally the response time is slow.
Injective has a custom built indexer that extracts data via RPC and is very interested in using our gRPC endpoints to extract the data in that way.
Activity
spec: migrate v0.7.1. into v0.34 (#9262)
[-]Define storage use cases and workloads[/-][+]Define external users and use cases for the CometBFT storage layer[/+]mzabaluev commentedon Jun 28, 2023
In order for this to not be an open-ended research topic, it would make sense to limit the census to several important customers (by production share, ecosystem importance, foundation partnerships, and possible other factors) in each category, in assumption that the usage patterns within each application category are largely similar.
mzabaluev commentedon Jun 29, 2023
The data access requirements for Hermes are in fact documented in the repository (subject to being updated, also as part of this work).
Brief summary of the request cases with the most impact on storage:
/block_search/block_results{begin,end,finalize}_block_eventsfields/tx_searchheight,tx_result.events/tx_searchheight,tx_result.events/tx_searchupdate_clienteventsheight,tx_result.events/header/commit,/latest_commitheight,proposer_address/validatorsromac commentedon Jun 29, 2023
@mzabaluev FYI I just now updated that document with a couple missing endpoints: informalsystems/hermes@efc9ff5
jmalicevic commentedon Oct 16, 2023
For Q3, we can close this issue and expand on new findings as needed.
fix: TimeoutTicker returns wrong value/timeout pair when timeouts are…