🔑 A high performance Key/Value store written in Go with a predictable read/write performance and high throughput. Uses a Bitcask on-disk layout (LSM+WAL) similar to Riak.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package bitcask |
|
|
|
func Example() { |
|
_, _ = Open("path/to/db") |
|
} |
|
|
|
func Example_withOptions() { |
|
opts := []Option{ |
|
WithMaxKeySize(1024), |
|
WithMaxValueSize(4096), |
|
} |
|
_, _ = Open("path/to/db", opts...) |
|
}
|
|
|