Git Product home page Git Product logo

capacity-plan-calculator's Introduction

Capacity Plan Calculator

Calculator from the capacity plan from your solution architecture,

The inputs are:

  • Daily Active User (DAU): integer
  • Requests per User: integer
  • Size per Request: integer
  • Reads vs Writes: e.g: 9:1

And the outputs are:

  • Requests Per Second (RPS)
  • Bandwidth
  • Storage

Just run app.py and enter the requested values:

$  python app.py
DAU (Daily Active Users): 1000000
Requests per user: 5
Size for request (kb): 20
Reads vs Writes (e.g.: 9:1): 9:1
Replication factor: 2

Capacity plan

Requests:
1000000 * 5 = 5000000 requests per day
1000000 * 5 = 50.0rps

Writes:
50.0rps / 10 * 1 = 5.0rps

Reads:
50.0rps / 10 * 9 = 45.0rps

Bandwidth:
50.0rps * 20kb = 1000.0kb/s
or
1.0mb/s

Storage:
Storage for second: 0.2mb
Storage for day: 20.0gb
Storage for year: 7.3tb
Storage in 5 years: 36.5tb

Thank you for use the capacity-plan-calculator.py

capacity-plan-calculator's People

Contributors

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