Projects

litelink

An embedded Iceberg storage engine for append-only data.

Python · Iceberg · Parquet · SQLite · DuckDB github.com/nhobin219/litelink

What DuckDB is to query execution, litelink is to the durable write path. It is a Python library for high-throughput, append-only writes, and it needs no server, daemon, catalog service, or cluster.

Each append commits to a local SQLite buffer and returns once the row is durable. litelink then seals rows into sorted Parquet, compacts small files, publishes them to an Apache Iceberg v2 table on local disk or S3, and evicts the local copies it no longer needs.

Why it exists

Teams usually run a write path in one system and an analytical store in another, with a job copying data between them. Hand-rolled versions of that pipeline tend to fail the same ways. They produce floods of tiny objects and few-row Parquet files, compaction that never gets scheduled, and in-memory buffers that vanish in a crash.

litelink makes the write path and the analytical store one log, so the Iceberg table another engine reads is the same data the writer produced.

How it works

streamcast uses it as its log, and agent-office runs on top of streamcast.