DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

k4


K4 is an open-source, transactional, and durable embedded storage engine based on a Log-Structured Merge (LSM) tree architecture. It supports a key-value data model with variable-length binary keys and values, write-ahead logging for durability, atomic transactions, and configurable background compaction. The system provides a custom API for operations such as Get, Put, Delete, and range queries, and includes a C library for foreign function interface integration.

Source Code
https://github.com/guycipher/k4[01]
Country of Origin
CA
Start Year
2024
End Year
2024
Project Types
Hobby, Open Source
Written in
Go
Operating System
Linux
License
MIT License
Twitter
@guycipher[03]

Database Entry

k4


K4 is an open-source, transactional, and durable embedded storage engine based on a Log-Structured Merge (LSM) tree architecture. It supports a key-value data model with variable-length binary keys and values, write-ahead logging for durability, atomic transactions, and configurable background compaction. The system provides a custom API for operations such as Get, Put, Delete, and range queries, and includes a C library for foreign function interface integration.

History


The system's source code repository was marked as a read-only archive in 2025 and is now considered abandoned.

Compression


Data Model


Indexes


Logging


Query Interface


Storage Architecture


Storage Organization


System Architecture


Revision #4