Skip to content

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

@Fullstop000

Description

@Fullstop000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions