smallnest / kvbench

Server for benchmarking pure Go key/value databases
MIT License
152 stars 31 forks source link

fastest in memory database missing here #21

Open osevan opened 10 months ago

osevan commented 10 months ago

Could you try to add whitedb written in c language to the list with go connector?

https://github.com/priitj/whitedb

They makes on old laptop 200 mio reads in second.

Will be cool when someone write a standalone go application with whitedb.

https://pkg.go.dev/cmd/cgo

Thanks and

Best regards

recoilme commented 10 months ago

Very introsting @osevan ! Fastest golang library (sniper) has 2,244,629/sec read and it's speed of SSD on Macbook 2019 So its limited by ssd speed as i understand. How you read 10x faster then SSD "on old laptop"? Just curios how it's possible. It read from memory, not from SSD? https://github.com/recoilme/sniper#performance

recoilme commented 10 months ago

Ah, i see.. "WhiteDB memory database" It's not fair comparison by my opinion. Most of libraries here is disk key/value databases, not memory

osevan commented 10 months ago

Ofc its in memory database.

I thought this comparison list contain every database as key value usable listed inside.

But, still, it would be good if a standalone go application could use whitedb.