CacheKit Docs

High-performance cache policies and supporting data structures.

View the Project on GitHub OxidizeLabs/cachekit

2Q

Feature: policy-two-q

Goal

Reduce scan pollution with a simple two-queue design that approximates “access twice before protection”.

Core Idea

Maintain:

Behavior:

Core Data Structures

Common implementation:

Optional (from the original paper):

Operations

Complexity & Overhead

References