GithubHelp home page GithubHelp logo

chicc999 / copycat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atomix/copycat

0.0 2.0 0.0 1.8 MB

A novel implementation of the Raft consensus algorithm

Home Page: http://atomix.io/copycat

License: Apache License 2.0

Shell 0.20% Java 99.80%

copycat's Introduction

Copycat

Build Status Maven Central

Copycat is a feature complete, fully asynchronous implementation of the Raft consensus algorithm in Java 8 designed for use in Atomix. The implementation provides a fully featured client and server and includes:

  • Pre-vote election protocol (§4.2.3)
  • Session-based linearizable writes (§6.3)
  • Lease-based fast linearizable reads from leaders (§6.4.1)
  • Fast sequential reads from followers (§6.4.1)
  • FIFO consistency for concurrent/asynchronous operations
  • Session-based sequential/linearizable state machine events (§6.3)
  • Membership changes (§4.3)
  • Snapshots (§5.1)
  • Log cleaning (§5.3)

Additionally, this implementation has undergone extensive Jepsen testing to verify it maintains linearizability in a number of different failure scenarios.

For more information on the Raft implementation itself, see Raft internals

Project status: BETA

Copycat is a fault-tolerant framework that provides strong consistency guarantees, and as such we take the responsibility to test these claims and document the implementation very seriously. Copycat's implementation of the Raft consensus algorithm is well tested, well documented, and verified by Jepsen. But the beta label indicates that the implementation may still have some bugs or other issues that make it not quite suitable for production. Users are encouraged to use Copycat in development and contribute to the increasing stability of the project with issues and pull requests. Once we've reached consensus on the lack of significant bugs in the beta release(s), a release candidate will be pushed. Once we've reached consensus on the stability of the release candidate(s) and Copycat's production readiness, a full release will be pushed.

It's all about that consensus!

Documentation for most of Copycat's implementation of the Raft algorithm is available on the Copycat website, and users are encouraged to explore the Javadoc which is also heavily documented. All documentation remains under continued development, and websites for both Copycat and Atomix will continue to be updated until and after a release.

Examples

The Atomix project is a collection of standalone Copycat StateMachines and proxies that can be multiplexed on a single Raft replicated log.

copycat's People

Contributors

kuujo avatar jhalterman avatar madjam avatar bgloeckle avatar

Watchers

James Cloos 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.