rubrik

command module
v0.0.0-...-593af8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

README

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

Documentation

Overview

* Rubrik is a document oriented database implementation with a rubrik's cube like datastructure. * Features are full CRUD operations, and full persistent to disk. More coming.. * Copyright (C) Alex Gaetano Padula * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL