GithubHelp home page GithubHelp logo

princeton-sns / gryff-rs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matthelb/gryff

1.0 2.0 0.0 293 KB

Home Page: http://efficient.github.io/epaxos/

License: Other

Go 77.25% Assembly 0.02% Makefile 0.05% Shell 0.53% Python 17.15% Roff 0.27% TLA 4.74%

gryff-rs's Introduction

Gryff-RSC

What is Gryff-RSC?

Gryff-RSC is a variant of the Gryff key-value store presented at NSDI 2020. Gryff combines a shared register and consensus protocol to offer linearizable reads, writes, and read-modify-writes operations. Gryff-RSC relaxes Gryff's consistency from linearizability to regular sequential consistency, and as a result, Gryff-RSC offers lower tail read latency. This code was used for the SOSP 2021 paper, "Regular Sequential Serializability and Regular Sequential Consistency." It is based off of the code originally used in the evaluation of Gryff.

This repository includes an implementation of Gryff's protocol, an implementation of our Gryff-RSC variant, and scripts to run the experiments presented in our paper.

Compiling & Running

Tool Versions

We've built and run the spanner-rss with the following compiler tools:

  • make v4.1
  • go v1.13
  • python v3.5.2
  • gnuplot v5.0

Running experiments

Experiments for the paper were run on CloudLab using the gryff profile. After starting an experiment,

  1. Clone the experiment repository to one of the CloudLab machines. (We often use client-0-0.)
    $ git clone https://github.com/princeton-sns/gryff-rs.git

  2. Build the Go client and server.
    $ export PATH="$PATH:/usr/local/go/bin" $ cd gryff-rs && make

  3. Install experiment script dependencies.
    $ sudo apt update && sudo apt install -y python3-numpy gnuplot

  4. Update experiment config. You will likely need to update the following fields:

    • project_name
    • experiment_name
    • base_local_exp_directory
    • base_remote_bin_directory_nfs
    • src_directory
    • src_commit_hash
    • client_host_format_str
    • server_host_format_str
  5. After updating the config file, you can run the experiment using a python3 script. For example,
    $ python3 ./scripts/run_multiple_experiments.py ./experiments/sosp2021/vary-reads-writes-5-conflict-10.json

Authors

Jeffrey Helt, Amit Levy, Wyatt Lloyd -- Princeton University

Matthew Burke -- Cornell University

gryff-rs's People

Contributors

jmhelt avatar matthelb avatar imoraru avatar kyunghoj avatar

Stargazers

 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.