mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2026-03-01 04:28:51 +00:00
Optimize MPT-backed storage Seek #1503
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U3
U3
U4
blocked
bug
bug
cli
compiler
config
config
consensus
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
neotest
network
oracle
performance
question
rpc
security
smartcontract
task
task
task
test
vm
wallet
windows
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neo-go#1503
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AnnaShaleva on GitHub (Mar 27, 2025).
Current Behavior
util upload-stateCLI command utilizes MPT-backed storage (in particular,Seekoperation over the whole contract storage). As it is postulated in https://github.com/nspcc-dev/neo-go/pull/3845#issuecomment-2756597644, the Seek&upload time at the same blockchain height varies from 26-30min to 1h25m. 26-30m is an expected value that is comparable with the full MPT traversal process, but 1h25m is something unexpectedly slow.Expected Behavior
At least, I'd expect
Seekoperation to take relatively the same amount of time for the same blockchain height. It would also be nice to optimize traversal time, but I'm not sure we can do it.@AnnaShaleva commented on GitHub (Mar 27, 2025):
Before digging into this issue we need to try to reproduce it in "aseptic" environment, i.e. to measure a pure Seek time at 7M of mainnet height without any additional overhead brought from objects uploading or dump file construction.