Skip to content

hailelagi/bubblegum

Repository files navigation

An On-Disk B+ Tree storage engine built as a part of reading Database Internals. Bubblegum is a toy project and an excuse to dive into and learn ideas from badger, pebble, bolt/bbolt and etcd.

DataFile Format/Bit Representation

| header |   Page(s)    | trailer |
| ...    | .. | .. | .. |  ...    |

Logically Pages/Slotted Pages:

header:

| header(fixed) |
|     ...       |

page:

| page  |
|header(field names)| (cell pointers) | (reserved) | cell| ... |
$ go get
$ go test .

run example:

go run .

About

btree-indexed storage engine in go.

Resources

Stars

Watchers

Forks

Languages