This repository has been archived by the owner on Oct 28, 2023. It is now read-only.
/
README
53 lines (42 loc) · 1.48 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
================================================================
nessDB v1.7
(NOT ONLY DATABASE ENGINE)
Copyright (C) 2011 BohuTANG
================================================================
nessDB is written in ANSI C and works in most POSIX systems like Linux, *BSD, OS X and Solaris without external dependencies.
Key Features
=============
* Bloom filter for record presence detection
* Level-LRU for hot data caching,improving Random-Read
* Distributable B+Tree-Structured-Indexes
* Background IO for data flush to disk
* Redis protocol support
Directory Tree
==================
./
./src/ - sources of nessDB
./BENCHMARK - benchmark results of nessDB
./LEVEL-LRU - nessDB's level-lru doc
./TODO - nessDB's todo list
./x/ - nessDB's network layer(via redis),very high-performance.
Interface
==========
* db_init(int bufferpool_size,int isbgsync)
* db_get(const char *key)
* db_add(const char *key,const char *value)
* db_update(const char *key,const char *value)
* db_remove(const char *key)
Very simple to use.
How to do BENCHMARK
==================
a, $cd src
b, $make
c, $./nessdb-bench add
If you want to remove all indexes&datas,please use "$make cleanall" command.
Start as server
===============
* $./nessdb-server
Now you can use redis-cli(or other redis's clients) to do some "COMMAND" operations
(Support Redis-Style commands:PING,SET,MSET,GET,MGET,DEL,EXISTS,INFO).
Thanks.
== END OF FILE ==