Giter Club home page Giter Club logo

ppm's Introduction

PPM - Paxos Performance Model

PPM implements paxos modeling as described in my blog: http://charap.co/do-not-blame-only-network-for-your-paxos-scalability/

Some important files:

  • local_multipaxos.py - multipaxos model. Contains default model parameters.
  • sim_local_multipaxos.py - runs the multipaxos model.
  • sim_graph.py - plots the throughput vs latency graph for different cluster sizes.

Model Parameters

sim_local_multipaxos.py can take various parameters to override the default settings:

  • -m - runs Model mode. No pipeline or round simulation. Round latency is computed with queueing theory approximation for the pipeline.
  • -t - time to simulate. By default, 60 seconds of paxos runtime is modeled. Needed only for simulation mode
  • -N - number of nodes in the cluster. Default: 3
  • -q - Quorum size. By default majority quorum for given cluster size N. Always keep at majority, unless modeling flexible quorums
  • -r - mean network RTT time in ms. Default: 0.427 ms
  • -R - standard deviation of network RTT time. Default: 0.0476 ms
  • -s - mean of message serialization overhead in ms
  • -S - standard deviation of message serialization overhead in ms
  • -d - mean of message deserialization/processing overhead in ms
  • -D - standard deviation of message deserialization overhead in ms
  • -p - number of processing pipelines. This is roughly the number of cores at the node. Default: 1
  • -z - mean separation between rounds in ms. This controls the target throughput. Default: 1000/6000
  • -Z - standard deviation of separation between rounds. Default: 1000/3000

ppm's People

Contributors

alekseyc avatar acharapko 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.