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

[leo_object_storage] Take much time to open with lots of AVS files #841

Closed
mocchira opened this issue Sep 21, 2017 · 2 comments
Closed

[leo_object_storage] Take much time to open with lots of AVS files #841

mocchira opened this issue Sep 21, 2017 · 2 comments
Assignees
Milestone

Comments

@mocchira
Copy link
Member

https://github.com/leo-project/leo_object_storage/blob/1.3.17/src/leo_object_storage_haystack.erl#L430 cause opening an AVS to take at least 100ms so it could be non-negligible time with lots of AVSs. Instead timer:sleep should be invoked only in abnormal cases.

@mocchira mocchira added this to the 1.4.0 milestone Sep 21, 2017
@mocchira mocchira self-assigned this Sep 21, 2017
@mocchira mocchira changed the title [leo_object_storage] Take much time with lots of AVS files [leo_object_storage] Take much time to open with lots of AVS files Sep 21, 2017
@vstax
Copy link
Contributor

vstax commented Sep 21, 2017

Thank you, this cuts loading time for (4*64 AVS files) from 1 minute 52 seconds to just 9 seconds.

@mocchira
Copy link
Member Author

Great to hear that.

@mocchira mocchira modified the milestones: 1.4.0, 1.3.8 Oct 26, 2017
@yosukehara yosukehara added v1.3 and removed v1.4 labels Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants