Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any info on tps for NuDB? #64

Open
Outstep opened this issue Jun 16, 2018 · 1 comment
Open

any info on tps for NuDB? #64

Outstep opened this issue Jun 16, 2018 · 1 comment

Comments

@Outstep
Copy link

Outstep commented Jun 16, 2018

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

@vinniefalco
Copy link
Member

vinniefalco commented Jun 16, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant