Git Product home page Git Product logo

ping-machine's Introduction

stuff-hs

Mostly fiddling with consensus protocol implementations, simulation testing and linearizability checking.

See also:

Reordering cases

Process A's operation runs between Ca - Ra, and B's Cb -> Rb. the linearization point for each Lx is Cx < Lx < Ex.

A's op subsumes B's.

T   0   1   2   3
A   +----------->
B       +--->

In this case, Ca < Cb < Rb < Ra, thus: Ca < La < Ca Cb < Lb < Cb

Co the range where La and Lb can be re-ordered is (Ca - Ra) & (Cb - Rb) = (Cb - Rb)

A's op overlaps B's.

T   0   1   2   3
A   +------->
B       +------->

In this case, Ca < Cb < Ra < Rb, thus: So the range where La and Lb can be re-ordered is Cb - Ra.

So, we have a happens before relation defined where

a hb b = Ra < Cb

Therfore, we can't re-order linearizations around call/returns. Calls / rets form our "re-ordering buffers", so ... erm.

ping-machine's People

Contributors

cstorey-owl avatar cstorey avatar

Stargazers

Daniel Kahlenberg avatar

Watchers

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