Skip to content

DrBaxR/rust-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustDB (name subject to change)

A DBMS implemented using Rust.

Purpose

This system is not meant to be used in any sort of production environment, as I mainly implemented it as a way to lean more about the following topics:

  • Databases
  • Rust
  • Concurrency
  • I/O Optimizations

Basically, what I'm saying is that I have no clue what I'm doing and ALL the code in this repo can be improved in many different ways.

Goal

The main goal I had in mind with when I started working on this project was to implement a piece of software that:

  1. Accepts multiple connections at the same time
  2. Runs SQL queries a decently performant manner
  3. Runs transactions concurrently

Resources

Here are a bunch of resources that I used in the process of developing this project:

  1. The CMU Intro To Database Systems Course (If there were one resource that I can wholehartedly recommend for learning more about how databases work, it would be this course)
  2. The BusTub Source Code (This is very useful if you follow along with the course)
  3. Tony Saro's Writing My Own Database From Scratch Video (This is the video that made me start this project)
  4. Mara Bos's Rust Atomics and Locks Book
  5. The PostgreSQL Documentation
  6. The PostgreSQL source code (I generally reference it here)

About

A DBMS made from scratch with Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published