Replies: 2 comments 2 replies
-
Read here for more information: #103 |
Beta Was this translation helpful? Give feedback.
-
Hi! You are right, I changed for Upsert (TryAtomic was a lot slower). I agree that it is nice it is a native language, I was just hoping for even more perfornance. I think it is very impressive that you match a C++ library with managed code. With Rocks it is very simple just to try Dim db As RocksDb = RocksDbSharp.RocksDb.Open(options, path) Dim temp As New RocksDbSharp.WriteBatch for i as integer=0 to 10000000
db.Write(temp) |
Beta Was this translation helpful? Give feedback.
-
Hi (Thank you for all support yesterday)
I am benchmarking against RocksDB and I dont get the speed bump I am expecting and hoping for, maybe there is a setting I am missing?
My Stats;
Zonetree,
Insert 10M records. Key is string and value is a byte()
7,8 seconds
RocksDB. Key is string and value is a byte()
4,5 seconds
When injecting data with RocksDB I am using a writecache to get the speed. First inject in writecache and then write the writecache
If I am NOT using writecache and write directly, Zonetree is 4 times faster than RocksDB
In fact the storage on disk is a little smaller with Rocks as well
Iterating over all records is more or less the same for both.
Randomly looking up 1000.000 values takes about 2 second for both Zonetree and RocksDB so it is no major difference there.'
Is there any settings I can apply? I am using the code you gave me yesterday.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions