GithubHelp home page GithubHelp logo

jiang718 / bulletinboardconsistency Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 200 KB

A multithreaded Bulletin Board (BB) system in which clients can post, reply, and read articles stored in the BB. The BB is maintained by a group of replicated servers that offer sequential consistency, Quorum consistency and Read-your-Write consistency.

C++ 92.07% RPC 1.28% Makefile 1.60% C 5.06%

bulletinboardconsistency's Introduction

BulletinBoardConsistency

A multithreaded Bulletin Board (BB) system in which clients can post, reply, and read articles stored in the BB. The BB is maintained by a group of replicated servers that offer sequential consistency, Quorum consistency and Read-your-Write consistency.

To compile:

make clean
make rpc
make all

How to use:

Launch the RPC server with ./serverside

Launch a client application in another process. Its usage is as follows; ./clientside “local ip” “local port” “server ip”

Options on client side (post | read | choose | reply) where each has its function as follows -

  1. Post will return 0 if post fails, otherwise, it will return the id of posted article.
  2. Read will read all articles from the server.
  3. Choose will read an article with the given id.
  4. Reply will post a reply article to an existing article with a certain id.

bulletinboardconsistency's People

Contributors

jiang718 avatar

Watchers

James Cloos avatar Sandeep Kowligi avatar  avatar

Forkers

ngupt

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.