Skip to content

An educational Rust project to implement an SQLite-like database from scratch, exploring database concepts such as indexes, Write-Ahead Logging (WAL), and RAFT

Notifications You must be signed in to change notification settings

Satrige/rustqlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustQLite

Overview

RustQLite is an educational project aimed at exploring how a database works under the hood, written entirely in Rust. This project was inspired by this tutorial on writing SQLite in C, but re-imagined using Rust. Through this project, I'm delving into both Rust programming and database internals, including B+ trees, Write-Ahead Logging (WAL), and the RAFT consensus algorithm.

Features

  • B+ tree implementation for efficient key-value storage
  • Write-Ahead Logging (WAL) for durability
  • RAFT for distributed consistency

Getting Started

To build the project, simply run:

cargo build

Links

  1. SQLLIte from scratch
  2. SQLLite

License

This project is licensed under the MIT License.

About

An educational Rust project to implement an SQLite-like database from scratch, exploring database concepts such as indexes, Write-Ahead Logging (WAL), and RAFT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages