pogreb
pogreb copied to clipboard
Embedded key-value store for read-heavy workloads written in Go
If data will be corrupted, then key+value size could be decoded into large value: unneccessary allocations and unneccessary disk read will follow. It is better to add checsum for key+value...
How to ommit this pogreb output before get my result? ❯ go run main.go getkv prm2 pogreb: moving non-segment files... pogreb: moved 00000-1.psg.pmt to 00000-1.psg.pmt.bac pogreb: moved db.pmt to db.pmt.bac...
Hey there, I wanted to start by saying a big thank you for your library—it's been a real game-changer for us! The speed it provides is just incredible. I'd love...
Go's generics are pretty good. The bytes.Equal omission like `string(key) == string(other)` does not allocate memory. For generic returns I have replaced bytesClone with typedCopy in db.go.
### change add batch put command. 😁
This PR adds a ReadOnly config option to be able to put the database on a read-only filesystem. Enabling this config options disables the Lockfile mechanism and sets all file...
Hi there I am currently testing if pogreb fits my needs and am very impressed by its speed however I recently ran some benchmarks ( pogreb-benchmark ) on a Debian...
**Very slow on Windows. What's the reason? Only 5MB write speed per second**
I've created a rather large database of 5.9 GiB. And then I run this code: ```go func printMemoryInfo() { var m runtime.MemStats runtime.ReadMemStats(&m) fmt.Printf("Alloc = %v MiB, Sys = %v...