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

Performance Issues for File Reading #238

Open
mayuehappy opened this issue Jan 17, 2023 · 1 comment
Open

Performance Issues for File Reading #238

mayuehappy opened this issue Jan 17, 2023 · 1 comment

Comments

@mayuehappy
Copy link

Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

I found that in the implementation of cloud_env_impl.NewRandomAccessFile, if we has local SstFileCache. When the local file does not exist, it needs to wait until the file is downloaded to the local. This process may be slower when the file is large.
Can we directly Random Access from S3 File, then asynchronously download the file and update the cache, after that we can replace the RandomAccessFile with the local one.

@githubzilla
Copy link

I guess if you disable sst_file_cache in CloudFileSystemOptions, it will directly randomly read S3 file.

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

2 participants