Closed ayulas closed 2 years ago
@erez-speedb pls test this feature. note that now the hash spd is plugable so when you run the db bench you need to set --memtablerep=speedb.HashSpdRepFactory
pls add to the db bench make ROCKSDB_PLUGINS=speedb
I see the hash has changed, restarting the performance tests.
No improvement, no degradation in short test and small obj https://admin.speedb.io/performance?items=Us28RNldCnAJsAvolNO7&items=YIisPzntUekVdQPu7Fii&colors=%23F06292&colors=%2300796b https://admin.speedb.io/performance?items=sgDc2TV9fp99lLZ4UCRE&items=iUXlkR0Q1dBiuJC1qJF5&colors=%2300796b&colors=%23ec407a Some improvement with large obj test https://admin.speedb.io/performance?items=NBG0L8I7cnVGBLaLFuf6&items=8XHUSwkEKQRY3slFXvWo&colors=%23F06292&colors=%2300796b
Why: Improve write performance (for multiple and single threads) Allow parallelism when working with the memtable
What : Inserting data into the memtable without sorting it first will eliminate the locking constraints of the write process. Since data is inserted unsorted a method of getting fast read is needed - generate 1M buckets and add the keys based on hash to one of them - statistically will be one per bucket.
Who: Write and Read while wrote oriented workload.