Skip to content

Document oriented database implementation with a rubik's cube like data structure.

License

Notifications You must be signed in to change notification settings

guycipher/rubrik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rubrik

Rubrik is a simple key-value document store implemented in Go. It uses a 3D cube structure to organize documents with support for set, get, delete operations. The database stores documents on disk, avoiding the need to keep the entire cube in memory.

Features

  • 3D Cube Structure: The database uses a 3D cube structure to organize documents based on their coordinates (x, y, z).

  • Disk Storage: Documents are stored on disk, allowing for scalability and efficient use of resources.

  • Set, Get, Delete Operations: Supports basic set, get, and delete operations to manipulate documents in the cube.

Data structure visualized

X (Width)
Y (Height)
Z (Depth)

Z=0                      Z=1                      Z=2
+------------------------+------------------------+
| DOC (Red1)             |                        |
|                        |                        |
|                        |                        |
+------------------------+------------------------+
|                        | DOC (Green1)           |
|                        |                        |
|                        |                        |
+------------------------+------------------------+
|                        | DOC (Yellow1)          |
|                        |                        |
| DOC (Blue1)            |                        |
+------------------------+------------------------+

X=0                      X=1                      X=2

About

Document oriented database implementation with a rubik's cube like data structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages