Git Product home page Git Product logo

nessdb's Introduction

nessDB v3.0 with Buffered-Tree.
(C) 2012-2020 nessDB Authors ________________
_____________________________  __ \__  __ )
__  __ \  _ \_  ___/_  ___/_  / / /_  __  |
_  / / /  __/(__  )_(__  )_  /_/ /_  /_/ /
/_/ /_/\___//____/ /____/ /_____/ /_____/
================================================================

nessDB is a fast Key-Value database(embedded), which is written in ANSI C with BSD LICENSE and works in most POSIX systems without external dependencies.

FEATURES

  • Buffered-Tree index data structure
  • Range-Query
  • Transaction

How To Bench

Random write 10,000,000(10 Million) records with 512MB memory.

make db-bench
./db-bench --benchmarks=fillrandom --num=10000000 --cache_size=536870912
nessDB:     version 3.0.0
Date:       Sat Jun 20 19:06:42 2020
CPU:        4 *  Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
CPUCache:   3072 KB
Keys:       20 bytes each
Values:     100 bytes each
Entries:    10000000
RawSize:    1144.4 MB (estimated)
Compression:Snappy
WARNING: assertions are enabled; benchmarks unnecessarily slow
------------------------------------------------------------
random write finished 10000000 ops                              
[  t min,   t max]	  ops count	      %
--------------------------------------------------
[      0,       1]	    9998639	  99.99 
[      1,       2]	         92	   0.00 
[      2,       3]	         78	   0.00 
[      3,       4]	        100	   0.00 
[      4,       5]	         73	   0.00 
[      5,       6]	         60	   0.00 
[      6,       7]	         65	   0.00 
[      7,       8]	         79	   0.00 
[      8,       9]	         58	   0.00 
[      9,      10]	         58	   0.00 
[     10,      12]	         70	   0.00 
[     12,      14]	         72	   0.00 
[     14,      16]	         47	   0.00 
[     16,      18]	         35	   0.00 
[     18,      20]	         41	   0.00 
[     20,      25]	         40	   0.00 
[     25,      30]	         29	   0.00 
[     30,      35]	         24	   0.00 
[     35,      40]	         19	   0.00 
[     40,      45]	         31	   0.00 
[     45,      50]	         15	   0.00 
[     50,      60]	         42	   0.00 
[     60,      70]	         43	   0.00 
[     70,      80]	         47	   0.00 
[     80,      90]	         35	   0.00 
[     90,     100]	         39	   0.00 
[    100,     120]	         48	   0.00 
[    120,     140]	         19	   0.00 
[    140,     160]	          1	   0.00 
[    160,     180]	          1	   0.00 
--------------------------------------------------
total:       53514	   10000000	   100%
min latency       : 0.000000 * 1e-3 sec/op
avg latency       : 0.005351 * 1e-3 sec/op
max latency       : 171.927214 * 1e-3 sec/op
avg throughput    :  186866 ops/sec

V3.0 is still cooking. For more work-in-process, please see TODO.

nessdb's People

Contributors

believe3301 avatar bohutang avatar codeslinger avatar feinno-zhangyanfei avatar feinno-zhaoboran avatar flaneur2020 avatar ldmiao avatar mirrtalk avatar pitulloz avatar qmx avatar tobydipasqualera avatar tonyw avatar yuyuyu101 avatar zhpengg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.