0xMiden / 0xMiden/node

Optimize block insertion and block input retrieval

Open
#777 0 comments 0 reactions 0 assignees View on GitHub
block-producer store
Dominant language
Rust
Stars
104
Forks
138
Avg merge
1d 13h
Merged PRs (30d)
56

Description

Currently, using the stress-test CLI we are getting:

`miden-node-stress-test seed-store --data-directory ./data --num-accounts 100000
`
- For 100k accounts took ~3.5 mins: https://hackmd.io/w0x1h5q4QbSu5uBZtwv-IA
- For 1M accounts took ~48 mins: https://hackmd.io/_5OIqh9UQ625NyU4wgeo2A

Originally posted by @bobbinth in https://github.com/0xPolygonMiden/miden-node/issues/763#event-17018689947
> I think the target we should aim for is when the DB has 100M accounts, block insertion should be around 200ms, and GetNoteInputs should be around 50ms.

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.