Skip to content

qichengzx/bitcask

Repository files navigation

Bitcask

Bitcask is a log-structured fast KV store.

This project is an implementation of Bitcask written in Go.

Bitcask intro here

Example

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))
}

About

Bitcask is a log-structured fast KV store.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages