Skip to content

(aoe): support read data directly from pagecache #196

Closed

Description

@XuPeng-SH

Here's the current read path:

                                              [Miss]
read request ----------> buffer manager -------------------> PageCache
                             | [Hit]                             |
            <----------------|                                   |
                              <----------------------------------|  
                             |              <Copy>
            <----------------|    

The data read from the buffer manager is designed to be shared by all clients, which is read-only. The performance should be good with a certain degree of concurrency.

The current computing layer has no concurrency requirements, and an in-place update needs to be done almost every time. The introduction of a buffer manager in this scenario will bring additional copy overhead, so it is necessary to provide the ability to always allow the application layer to copy data directly from page cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featurepriority/p0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions