The document engine at the core of OxiDB: MongoDB-style queries and aggregation, indexes and the planner, disk-first storage, the WAL, OCC transactions and read snapshots, with every example run against a real server.
$ ls tags/database
#database
7 posts
How I built geospatial queries and graph stages into OxiDB's document engine, shown with real places in Istanbul and a small flight network: a geohash index that is generous but never wrong, BFS, and lazy Dijkstra.
I added a second engine to OxiDB next to the document engine, with its own WAL and files: enforced constraints, CTEs, window functions, stored procedures in Cobra bytecode, unmodified psql/psycopg and EF Core.
A deep dive into oxidb-tsdb, OxiDB's time series engine: Gorilla compression bit by bit, typed fields, line protocol, aggregations, continuous rollups with a watermark, low-lock backup and real compression ratios measured on my own sensor data.
I built a RESP-speaking key-value layer into OxiDB: five data types, TTLs, pub/sub, WATCH, Lua and snapshots. Real redis-cli and redis-py sessions, benchmarks against Redis 8.6, and the honest limits.
OxiDB's S3 layer: multipart, range and conditional reads, SSE-S3/SSE-C, SigV4 and presigned URLs, lifecycle expiry, how blobs sit on disk and full-text search inside uploaded files. All with real sessions.
oxidb-rec, OxiDB's fourth engine: it turns baskets into counters as they arrive and scores "customers who bought this also bought" with Dunning's LLR. Time buckets, LLR by hand, the on-disk layout and experiments with 12k orders on a real server.






