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

Feature: introduce mmap based read ops for read-only files #84

Open
Fullstop000 opened this issue Sep 21, 2020 · 0 comments
Open

Feature: introduce mmap based read ops for read-only files #84

Fullstop000 opened this issue Sep 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Fullstop000
Copy link
Owner

For some read-only files, the mmap can be used to improve the reading performance in read-only situation a lot. For example, when doing major compaction, reading the input SSTables by mmap may be more sufficient than just calling read().

In origin leveldb fs layer env, PosixMmapReadableFile is introduced for such cases.

@Fullstop000 Fullstop000 added the enhancement New feature or request label Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant