Code Monkey home page Code Monkey logo

cs739_p4's Introduction

CS739_P4

Block store w/ PBFT replication guarantee

How to build:

Make sure to assign CMAKE_PREFIX_PATH with local gRPC build directory.

  • cd makefiles
  • mkdir build && cd build
  • cmake -DCMAKE_PREFIX_PATH=$HOME/.local -DBUILD_CLIENT=ON -DBUILD_REPLICA=ON ..
  • make -j4

How to Run:

Replica: ./replica -c <replica config file path>

client: ./client -c <client config file path>

measuement: ./test -c <client config file path>

Code Scripts Layout:

Three sets of gRPC message & service definition: ./proto ./cleint_replica_gRPC ./replica_replica_gRPC

CMake files: ./makefiles

Client side code: clinet_operation.cpp client.cpp

Replica server library: common.cpp lib_crypto.cpp

Replica server code: replica.cpp

Testing Code: measurement.cpp

Bullet in the rubrics and the corresponding source code (deatils in report)

Testing & Measurement

1 Performance & Correctness:

  • read/write latency: measurement.cpp
  • recovery time: measurement.cpp
  • aligned-address vs. unaligned-address: measurement.cpp

cs739_p4's People

Contributors

domen111 avatar hshih25 avatar wang2590 avatar yatharthb 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.