-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
iterator performance #82
Comments
Yeah, sorted key-value iteration is slow. We just haven't been able to get the same kind of read throughput from Go as expected. I wanted to try building an async io library in Go, but haven't had a chance. Might do it soon. There're 2 ways to achieve performance with iteration:
|
Yeah, i don't really care about it being sorted, and i also don't care about values. If we could get a fast iteration of unordered keys, that would be really great |
You can just set FetchValues option when creating iterator to false. It would iterate over keys in sorted order blazing fast. Try it out. And if it gives you the performance you want, feel free to close this issue. |
I presume this is working for you. Feel free to reopen if it doesn't. |
Trying this out, and i'm quite happy with read and write performance, but i've noticed that iterating through items in the datastore is significantly slower than what we're currently using. Is there going to be work on improving that performance?
The text was updated successfully, but these errors were encountered: