LLKV: Rust, SQL, Apache Arrow, and zero-copy KV Storage
github.com·11h·
Discuss: Hacker News
Flag this post

LLKV: A Columnar Storage Layer for Key-Value Stores

Work in Progress

LLKV is a lightweight toolkit for building logical, columnar layouts and query primitives on top of generic key–value stores.

It is designed for data stores that provide zero-copy reads with SIMD-friendly alignment (vector-width or cacheline aligned), enabling direct use in vectorized kernels (e.g. SIMD R Drive).

Storage Layout: Physical vs. Logical Keys

In LLKV, data is split into physical keys and logical fields.

  • A physical key maps to a chunk of one column (a slice of rows).
  • A lookup returns many rows of a single column in one go, using the Apache Arrow memory layout for efficient, zero-copy access.
  • Logical fie…

Similar Posts

Loading similar posts...