Gostore - Gostore is a simple, durable, embedded key-value storage engine written in Go

Readme.MD

Gostore

Gostore is an embedded, in-memory key/value data store.

Documentation

For full documentation see godoc.

Benchmarks

Each benchmark is for a datastore with max key size of 16 bytes and 1000 values in the store.

BenchmarkInt64DBSet-4               8007 ns/op	      48 B/op	       3 allocs/op
BenchmarkInt64DBGet-4               22.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkIntDBSet-4                 6365 ns/op	      48 B/op	       3 allocs/op
BenchmarkIntDBGet-4                 22.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkInterfaceDBSet-4           6086 ns/op	     408 B/op	       6 allocs/op
BenchmarkInterfaceDBGet-4           970 ns/op	     984 B/op	       9 allocs/op
BenchmarkStringDBSet-4              6027 ns/op	     136 B/op	       4 allocs/op
BenchmarkStringDBGet-4              23.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkUint64DBSet-4              6870 ns/op	      48 B/op	       3 allocs/op
BenchmarkUint64DBGet-4              22.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkUintDBSet-4                7364 ns/op	      48 B/op	       3 allocs/op
BenchmarkUintDBGet-4                23.1 ns/op	       0 B/op	       0 allocs/op

Contribute

Make a pull request.

Nguồn : GitHub