-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acceleration of the balance bootstrapping process #259
Comments
Hi @rufsam, Is this happening even though you have a memory limit disabled setting turned off? |
Hi @shrimalmadhur, I have tested with following configuration values:
Also with |
I see. thanks for the info. Is your rosetta implementation public? If yes, I would like to repro this with your bootstrap file. It would also help me to check where we can it more efficient. |
This would be really great. Many thanks @shrimalmadhur! If there is anything I can help you with, just tell me! |
Hi! is there a way (e.g. some rosetta-cli config option) to speed up the balance boostrapping process? Unfortunately, to bootstrap 85,000 balances it takes more than 10 hours (on a quite performant server).
To Reproduce
bootsrap_balances.json
file with 85,000 accounts for exampleExpected behavior
I assume that the bootstrap process is faster. IOTA nodes for example need to be boostrapped with the same data and it takes (when optimized) less than a minute.
Additional context
IOTA full-nodes are able to start up from a more recent block instead of having to synchronize from genesis. This can be achieved by booting the IOTA full-node with a so called snapshot. A snapshot represents the ledger state at a certain block.
Starting from that loaded state, the IOTA node then syncs with it's peers.
To test our implementation we need to boot rosetta-cli with the same snapshot data (therefore we do have such a big
bootstrap_balances.json
file).The text was updated successfully, but these errors were encountered: