Giter VIP home page Giter VIP logo

floodgate's People

Contributors

benschwarz avatar lstoll avatar lstoll-sfdc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

flipkick

floodgate's Issues

Connection profiles

Support parsing a file with this format and a specific profile name, as well as taking the param options directly.

[
  {
    "title": "GPRS",
    "download": 6400,
    "upload": 2560,
    "latency": 500
  },
  {
    "title": "Regular 2G",
    "download": 32000,
    "upload": 6400,
    "latency": 300
  },
  {
    "title": "Good 2G",
    "download": 57600,
    "upload": 19200,
    "latency": 150
  },
  {
    "title": "Regular 3G",
    "download": 96000,
    "upload": 32000,
    "latency": 100
  },
  {
    "title": "Good 3G",
    "download": 196608,
    "upload": 96000,
    "latency": 40
  },
  {
    "title": "Emerging Markets 3G",
    "download": 400000,
    "upload": 400000,
    "latency": 400
  },
  {
    "title": "Regular 4G",
    "download": 524288,
    "upload": 393216,
    "latency": 20
  },
  {
    "title": "DSL",
    "download": 262144,
    "upload": 131072,
    "latency": 5
  },
  {
    "title": "WiFi",
    "download": 3932160,
    "upload": 1966080,
    "latency": 2
  }
]

Testing

We should be able to pretty accurately test our assumptions about throughput limiting and latency additions, so let's do that.

Make latency more accurate

Currently we're just adding a delay to read/writes, which won't really simulate network conditions. We probably need to have an extra layer that reads from the rate limited reader as fast as it can, then delays the traffic by latency, then finally writes it on a channel the Read() consumes from.

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.