mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2026-03-01 04:28:51 +00:00
Speed up NeoFSStateSyncExtensions mode of node syncronisation #1531
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#1531
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 (Jun 4, 2025).
Is your feature request related to a problem? Please describe.
Node sync via
NeoFSStateSyncExtensionsinSkipIndexFilesSearch: trueis not fast enough for production usage even after #3913. In particular, headers/blocks synchronisation consumes unexpectedly large amount of time. Synchronisation speed is times slower than via P2P or via index files based mode. From one hand, some slow-down is expected and depends on how fast NeoFS storage nodes can respond to SEARCHV2 requests, but at the same time it looks like we have something to improve on NeoGo side.Here are the exact numbers that I got when synchronizing headers based on NeoFS mainnet SN:
For comparison, here are persist logs for P2P-based sync:
Describe the solution you'd like
Describe alternatives you've considered
Leave it as is, but it's too slow for production usage, it will become a problem eventually.
@roman-khimov commented on GitHub (Jun 4, 2025):
Have you measured SEARCH/GET response time for it?
@AnnaShaleva commented on GitHub (Jun 4, 2025):
No, but this can be an entry point to start the optimisation from.