NuDB icon indicating copy to clipboard operation
NuDB copied to clipboard

any info on tps for NuDB?

Open Outstep opened this issue 6 years ago • 1 comments

Hello,

I am new to NuDB and am research super high-performance key-value db for a blockchain project.

I would like to get some information on the TPS speeds that NuDB is capable of handling, if possible.

Thanks and have a great day

Outstep avatar Jun 16 '18 15:06 Outstep

The performance greatly depends on the workload and hardware. That said, NuDB reaches the theoretical maximum of performance for a given SSD drive. It is simply not possible to perform significantly better. Looking up a key is O(1) and retrieving a value is O(N) where N is the size of the value. Memory usage is constant, and these performance numbers are independent of the size of the database. In order to get the best performance you have to make sure that the block size matches the block size of the underlying device.

I suggest you run your own benchmarks for your use-case.

vinniefalco avatar Jun 16 '18 16:06 vinniefalco