An open API service indexing awesome lists of open source software.

https://github.com/qichengzx/bitcask

Bitcask is a log-structured fast KV store.
https://github.com/qichengzx/bitcask

bitcask bitcask-like key-value kv kvstore riak

Last synced: 6 months ago
JSON representation

Bitcask is a log-structured fast KV store.

Awesome Lists containing this project

README

          

Bitcask
----

Bitcask is a log-structured fast KV store.

This project is an implementation of Bitcask written in Go.

[Bitcask intro here](https://riak.com/assets/bitcask-intro.pdf)

## Example

```go
package main

import (
"github.com/qichengzx/bitcask"
"log"
)

func main() {
d, err := bitcask.New("your/path/here")
if err != nil {
log.Fatal(err)
}
defer d.Close()

d.Put([]byte("bitcask"), []byte("bitcask is a log-structured fast KV store"))
v, _ := d.Get([]byte("bitcask"))
log.Println(string(v))
}
```