https://github.com/b1nary-gr0up/originium
LSM-Tree based storage engine used by FOIVER system.
https://github.com/b1nary-gr0up/originium
database go lsm storage-engine
Last synced: over 1 year ago
JSON representation
LSM-Tree based storage engine used by FOIVER system.
- Host: GitHub
- URL: https://github.com/b1nary-gr0up/originium
- Owner: B1NARY-GR0UP
- License: apache-2.0
- Created: 2024-12-10T15:59:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T20:18:47.000Z (over 1 year ago)
- Last Synced: 2025-04-06T21:26:00.630Z (over 1 year ago)
- Topics: database, go, lsm, storage-engine
- Language: Go
- Homepage:
- Size: 200 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

LSM-Tree based storage engine used by FOIVER system.
## Install
```shell
go get -u github.com/B1NARY-GR0UP/originium
```
## Usage
- **Open**
```go
// use originium.Config to customize the db behavior
db, err := originium.Open("your-dir", originium.DefaultConfig)
```
- **Set**
```go
db.Set("hello", []byte("originium"))
```
- **Get**
```go
v, ok := db.Get("hello")
```
- **Scan**
```go
entries := db.Scan("start", "end")
```
- **Delete**
```go
db.Delete("hello")
```
- **Close**
```go
db.Close()
```
## Blogs
- [Building an LSM-Tree Storage Engine from Scratch](https://dev.to/justlorain/building-an-lsm-tree-storage-engine-from-scratch-3eom)
## License
ORIGINIUM is distributed under the [Apache License 2.0](./LICENSE). The licenses of third party dependencies of ORIGINIUM are explained [here](./licenses).
## ECOLOGY
ORIGINIUM is Part of PROJECT: FOIVER