Skip to content

Sharded locking for in-process cache #6

@toloco

Description

@toloco

Priority: Medium impact / medium effort

Why

Biggest remaining scalability improvement for multi-thread workloads.

Goal

  • Partition cache into N shards
  • Hash determines shard
  • Independent locks per shard

Acceptance Criteria

  • No regression in single-thread performance
  • Improved throughput with 8–32 threads

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