Skip to content

Frey-Fu/rtidb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtidb

Database for Real Time Intelligence

build

# install thirdparty
sh build.sh
# gen cpp
sh gen_cpp.sh
# complie
mkdir build
cd build 
cmake ..
make -j4

start tablet server

cd build/bin
./rtidb >log 2>&1 &

start cli

cd build/bin
./rtidb_cli
>put 3 1 1
Put 1 ok, latency 0 ms
>put 3 2 2
Put 2 ok, latency 0 ms
>put 3 3 3
Put 3 ok, latency 0 ms
>put 3 4 4
Put 4 ok, latency 0 ms
>scan 3 2 3
key:3/2  value:2
key:3/3  value:3
scan 2 records, latency 0 ms

todo

  • update sofa rpc to 1.1.1
  • capnproto flatbuffer 性能对比
  • 基于boost asio 和以上性能优势的序列化工具实现网络通讯
  • 主从同步
  • 支持分布式横向扩展

About

Database for Real Time Intelligence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published