Giter VIP home page Giter VIP logo

kvscan's Introduction

KVScan - A simple iterator style remote scanning C/S model

About

Detail implementation in http://blog.handora.me/post/2018/03/2018-03-30-kvscan/

Todo [6/10]

  • [X] Page class, for bulk read from memory to reduce IO
  • [X] DiskManaer class, for disk management
  • [X] LRUreplacer class, for lru algorithm utility
  • [X] BufferPool class, for memory page buffer managements
  • [X] Server class, for save the mappings and support the concurrent read
  • [X] Client class, for scan the mappings through bulk rpc
  • [ ] Documents
  • [ ] Client cache, reuse the bufferpoolmanager
  • [ ] first100page, reduce overload of initial read
  • [ ] meta tree, save meta which can be fetched easily
  • [ ] rpc timeout handler

Install

git clone https://github.com/Handora/KVScan.git kvscan
cd kvscan
git submodule init
git submodule update

Build

mkdir build
cd build
cmake ..
make
# if you want to make with 4 threads
make -j 4

Testing

cd build
# generate with python3 and need improvement
python3 ../script/generate.py
python3 ../script/generate2.py
make check

Unit Testing

# if you want to unit test *_test
cd build
python3 ../script/generate.py
python3 ../script/generate2.py
make *_test
# and so on

Documends

Waiting for completion

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.