Resource for making database from scratch

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • bolt

  • db_tutorial

    Writing a sqlite clone from scratch in C

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cockroach

    CockroachDB - the open source, cloud-native distributed SQL database.

  • Cockroachdb is written in go if you need some inspiration: https://github.com/cockroachdb/cockroach

  • bolthold

    BoltHold is an embeddable NoSQL store for Go types built on BoltDB

  • Storm

    Simple and powerful toolkit for BoltDB (by asdine)

  • bluge

    indexing library for Go

  • chai

    Modern embedded SQL database (by chaisql)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • gosqlparser

    Simple SQL parser

  • For learning, I built components of the database engine like an SQL parser, a file-based B+ tree, a log-structured merge-tree. And I planned to merge them into the simple database engine. But I paused the project due to the changes in life obstacles.

  • fbptree

    A persistent storage (in file) based using B+ tree with byte-slice keys and values

  • For learning, I built components of the database engine like an SQL parser, a file-based B+ tree, a log-structured merge-tree. And I planned to merge them into the simple database engine. But I paused the project due to the changes in life obstacles.

  • lsmtree

    Log-structured merge-tree (by krasun)

  • For learning, I built components of the database engine like an SQL parser, a file-based B+ tree, a log-structured merge-tree. And I planned to merge them into the simple database engine. But I paused the project due to the changes in life obstacles.

  • gosqldb

    A key-value persistent database that supports SQL queries over B+ and LSM trees

  • For learning, I built components of the database engine like an SQL parser, a file-based B+ tree, a log-structured merge-tree. And I planned to merge them into the simple database engine. But I paused the project due to the changes in life obstacles.

  • helindb

  • py-caskdb

    (educational) build your own disk based KV store

  • link: https://github.com/avinassh/py-caskdb

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts