Giter Site home page Giter Site logo

blentle / hikarikeeper Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 3.0 459 KB

Yet another distributed coordination service for distributed applications based on Raft inspired by consul, only depend on slf4j and rocksdb-jni. The project is currently in an early stage of development.

License: MIT License

Java 100.00%
coordinator discovery-service distributed-locks raft consul etcd zookeeper

hikarikeeper's Introduction

Features

  • provide leader election base on Raft
  • store metadata into rocksdb instead of Map
  • strong consistency insurance
  • higher concurrency than zookeeper, etcd, etc...

Design Motivation

We designed Hikarikeeper to be able to act as a coordination platform for store large scale metadata.

It would have to have high-throughput to support high concurrent read/write such as real-time sync.

It also meant the system would have to handle low-latency delivery to handle more traditional KV storage.

Finally the most import is that hikarikeeper could store lage scale metadata info

Supporting these uses led us to a design with a number of unique elements, more akin to a coordination service than a traditional kv store. We will outline some elements of the design in the following sections.

Architecture Overview

Hikarikeeper allows distributed processes to coordinate with each other through a shared hierarchical name space of data registers much like a file system,Unlike normal file systems Hikarikeeper provides its clients with high throughput, low latency, highly available,strong consistent to the registers. The performance aspects of Hikarikeeper allow it to be used in large distributed systems.

avatar

Roadmap

Now it's time to dig into the full Hikarikeeper API and other guides.

  • use rocksdb to store metadata instead of ConcurrentSkipListMap
  • extract network api to support native nio, netty spi
  • a high performance distribute lock (at least more efficient than redis, come on !)
  • light-weight discovery service standalone version and spring-integration version.
  • provide gRPC API.
  • provide thrift API.

Performance

In Progress

References

Acknowledgement

Special thanks to JetBrains for providing me with IntelliJ IDEA licenses !

hikarikeeper's People

Contributors

blentle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.