Skip to content

Split cache file for 2 (write / write + read) #238

@anatolii2makaroff

Description

@anatolii2makaroff

Hi,

I have an idea to use a split cache with two separate files:

  1. write only cache
  2. write + read cache

I’d like to use preserve mode for the write cache to ensure high availability and replicate it to different nodes (using SDS), while keeping the read cache local to each node.

This way, I can keep the write cache as small as possible—just enough to store all dirty and unflushed data safely—and increase the read cache size with minimal cost. If a node with the read cache goes down, I’m okay with reloading the data from S3.

Does this feature make sense? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions