Giter Site home page Giter Site logo

nezha's Introduction

Nezha

Nezha is code name of this project.

哪吒(Nezha)是**神话故事里的少年战神,我们以其作为基于Tokyo Cabinet的简单分布式KV存储系统原型项目的代号。

It contains configdb lib(configdb.h/libconfigdb.so) and a command line test program(Nezha)

执行make configdb和sudo make install编译安装configdb,然后可以开始使用configdb.h提供的接口进行开发了

Software Architecture of Nezha

主要源文件及其依赖关系

Makefile nezha client.c |-> cmdline.h/cmdline.c |-> configdb.h/libconfigdb.so libconfigdb.so configdb.h/configdb.c |-> nodes.h/nodes.c |-> engine.h/engine.c |-> msgq.h/msgq.c |-> event.h/event.c |-> remotedbapi.h/remotedbapi.c |-> socketwrapper.h/socketwrapper.c |-> protocol.h/protocol.c |-> dbapi.h/dbapi.c

test* files for unit testing doc/ 见doc目录下的图片等资料

nezha's People

Contributors

mengning avatar

Stargazers

Eason Wang avatar alwayrun avatar Lewis avatar Archer VanderWaal avatar Qi avatar  avatar  avatar  avatar Eric Liu avatar fayhot avatar

Watchers

 avatar  avatar  avatar

nezha's Issues

节点编号在不同节点上的顺序不一致

由于在master上插入节点是以最大区域的中位数,而load到其他节点上是根据虚拟节点上实际节点的前后顺序发送的,这就造成在master上的节点插入顺序,与其他节点上的节点插入顺序不同,因此造成数据分布在不同节点上的不一致,在同一个节点上是一致的。

解决的方法:load节点信息时要按照节点插入顺序发送。

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.