Coder Social home page Coder Social logo

doudouzhu / paxosstore-tla Goto Github PK

View Code? Open in Web Editor NEW

This project forked from starydark/paxosstore-tla

0.0 1.0 0.0 18.15 MB

Specifying and Verifying the consensus algorithm in PaxosStore using TLA+

License: MIT License

TLA 50.55% TeX 49.42% Isabelle 0.03%

paxosstore-tla's Introduction

Paxosstore-tla

A project of using TLA+ to model check the correctness of the consensus algorithm in the PaxosStore@VLDB2017 paper and the open-source Tencent/paxosstore.

TLA+ module

While constructing specification of the consensus algorithm TPaxos in PaxosStore, we uncover a crucial but sutble detail in TPaxos which is not fully clarified, called TPaxosAP. We verify the correctness of both TPaxos and TPaxosAP, and establish the refinement mappings from TPaxos to Voting and from TPaxosAP to EagerVoting(equivalent to Voting).

Module

  • TPaxos.tla: the specification of the TPaxos.
  • TPaxosAP.tla: the specification of the variant of TPaxos.
  • TPaxosWithVotes.tla: the refinement mapping of TPaxos refining Voting.
  • TPaxosAPWithVotes.tla: the refinement mapping of TPaxosAP refining EagerVoting.
  • EagerVoting.tla: a specification that is equivalent to Voting.
  • Voting.tla: a specification introduce by Lamport in paper Byzanting Paxos by Refinement.
  • Consensus.tla: a specification that implemented by Voting.

Refinement relation

RefinementRelation

Model checking with TLC

The experiment refers to TPaxosExperiment.

paxosstore-tla's People

Contributors

hengxin avatar starydark avatar

Watchers

 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.