Giter VIP home page Giter VIP logo

gossipalgorithm_pushsum's Introduction

PROJECT 2 - DOS


Written using F# and Akka

Team Members:

  • Amit Asish Bhadra (66494087)
  • Rishab Aryan Das (05369273)

Instructions to run:

  • unzip project2.zip

  • unzip project2-bonus.zip

    To run gossip:
    cd project2
    dotnet fsi --langversion:preview Proj2.fsx <num_nodes> gossip
    Eg:
    dotnet fsi --langversion:preview Proj2.fsx 100 2D gossip


To run Push sum:
cd project2
dotnet fsi --langversion:preview Proj2.fsx push-sum
Eg:
dotnet fsi --langversion:preview Proj2.fsx 2000 imp2D push-sum

To run Push sum(multi messages):
cd project2
dotnet fsi --langversion:preview Proj2-multiplePS.fsx push-sum
Eg:
dotnet fsi --langversion:preview Proj2-multiplePS.fsx 2000 imp2D push-sum

To run Bonus Gossip:
cd project2-bonus
dotnet fsi --langversion:preview Proj2-bonus.fsx gossip
Eg:
dotnet fsi --langversion:preview Proj2-bonus.fsx 2000 imp2D gossip

What is working:

  • For gossip we have implemented our network for upto 20000 nodes and reported upto 10000
  • For Push sum we have experimented both with single and multiple messages upto 20000 nodes and reported upto 10000. As expected, line doesn't converge for the single active message way for over 1000 nodes. Using multiple active messages we have solved this but even then the convergence takes a considerably long time.
  • For bonus, implemented Failure Model for Gossip Protocol

Order of convergence:

  • Gossip: Full < Imp2D < 2D < Line
  • Push Sum: Full < Imp2D < 2D < Line

Largest Network that is converging:

  • Gossip:

    • Line: 20000
    • 2D: 50000
    • Full: 100000
    • Imp2D: 60000
  • Push Sum(multi):

    • Line: 20000
    • 2D: 50000
    • Full: 100000
    • Imp2D: 70000

gossipalgorithm_pushsum's People

Contributors

amitbhadra 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.