Coder Social home page Coder Social logo

immortalboi / gossip-membership Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.59 MB

An implementation of the Gossip based membership protocol on a peer2peer network, made for the "Cloud Computation Part 1" course for coursera.

C++ 81.48% Shell 8.62% Makefile 1.35% HTML 4.01% Python 4.54%
cloud-computing coursera gossip-protocol membership-protcol peer-to-peer

gossip-membership's Introduction

Gossip Membership Implementation

An implementation of the Gossip based membership protocol, made for the "Cloud Computation Part 1" course from coursera.

Note for anyone trying to cheat on the assignement, this code isn't complete with the steps necessary to pass the grader, they have been omitted on purpose, however it will get you pretty close to what you want to do. With proof:

Usage

  1. Run make to compile everything:
make
  1. Running the tests, you can find them in the testcases folder, in this example we'll run:
./Application testcases/singlefailure.conf > output.log 
  1. Open the output.log file to get the membership tables, logs for removal and failure and other events. Or, open the dbg.log file to see the message log between nodes.

Extra information

In case you're curious about what the assignment is about, you can read more about it in the mp1_specifications.pdf.

gossip-membership's People

Contributors

immortalboi avatar

Stargazers

 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.