Show HN: A Database Written in Golang
Published on: 2025-07-15 06:28:26
Overview
AtomixDB is an mini relational database fully written in Go. Main focus was on implementing & understanding working the of database, storage management & transaction handling.
Table of Contents
Installation
Prerequisites
Golang (version 1.17 or later)
Git
Linux operating system. AtomixDB has been developed and tested on systems like NixOS.
Clone the Repository
Clone the repository to your local machine:
git clone https://github.com/Sahilb315/AtomixDB.git && cd AtomixDB
Build
Build the project using Go:
go build -o atomixdb
Run
To start the AtomixDB server, execute:
./atomixdb
Features
B+ Tree Storage Engine with Indexing Support : Enables fast data retrieval, which is critical for database performance, especially in scenarios involving large datasets.
Free List Management for Node Reuse : The database manages a free list to reuse nodes, which is a strategy to optimize storage usage by recycling space from freed nodes. This helps reduce fragmentation and impr
... Read full article.