GithubHelp home page GithubHelp logo

ease-lab / hermes Goto Github PK

View Code? Open in Web Editor NEW
159.0 159.0 16.0 4.2 MB

Hermes: a fault-tolerant replication protocol, implemented over RDMA, guaranteeing linearizability and achieving low latency and high throughput.

Home Page: http://hermes-protocol.com/

License: Apache License 2.0

CMake 0.63% Shell 4.62% Python 1.05% C 87.75% Makefile 0.36% TLA 5.59%
availability consistency distributed-systems performance rdma replication

hermes's People

Contributors

akatsarakis avatar

Stargazers

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

hermes's Issues

`HRSemanticsRMW` invariant is violated in HermesRMWs TLA+ specification

In the HermesRMWs TLA+ specification,HRSemanticsRMW is stated as an invariant. This appears not to hold when model checking with TLC, even on a small model.

Here's a simple repro script that can be run from a clean directory:

#!/bin/sh
git clone https://github.com/ease-lab/Hermes.git
cd Hermes/tla
wget https://github.com/tlaplus/tlaplus/releases/download/v1.7.3/tla2tools.jar

echo "INIT HRInit" >> HermesRMWs.cfg
echo "NEXT HRNext" >>  HermesRMWs.cfg
echo "CONSTANTS" >>  HermesRMWs.cfg
echo "H_NODES = {33,44,55}" >> HermesRMWs.cfg
echo "H_MAX_VERSION = 2" >> HermesRMWs.cfg
echo "INVARIANT HRSemanticsRMW" >> HermesRMWs.cfg

java -cp tla2tools.jar tlc2.TLC -workers 4 HermesRMWs

TLC produces a 12-step counterexample (hermes_cex.txt) in a few seconds.

I don't have a deep enough understanding of the underlying protocol to be clear on whether this is a bug in the algorithm or in the specification, but wanted to document this for reference, and see if you have any thoughts on this.

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.