Skip to content
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

Problem: archive node takes a long time to startup #666

Closed
yihuang opened this issue Aug 23, 2022 · 5 comments
Closed

Problem: archive node takes a long time to startup #666

yihuang opened this issue Aug 23, 2022 · 5 comments

Comments

@yihuang
Copy link
Collaborator

yihuang commented Aug 23, 2022

Right now, archive node on mainnet takes a long time to startup, the main suspicion is iavl tree load all the roots on startup, that's time consuming on an archive node which has lots of historical versions.
iavl 0.19.0's optimization may help with that.

@tomtau
Copy link
Contributor

tomtau commented Aug 23, 2022

related issue cosmos/cosmos-sdk#4326

@JayT106
Copy link
Collaborator

JayT106 commented Aug 23, 2022

I remembered @yihuang had tried LazyLoadVersion but there was no significant difference?

@yihuang
Copy link
Collaborator Author

yihuang commented Aug 23, 2022

I remembered @yihuang had tried LazyLoadVersion but there was no significant difference?

lazy loading only support read only cases.

@JayT106
Copy link
Collaborator

JayT106 commented Aug 23, 2022

ah right!

@yihuang
Copy link
Collaborator Author

yihuang commented Aug 25, 2022

v0.8.x and main branch all using iavl 0.9 now, closing this one.

@yihuang yihuang closed this as completed Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants