Giter VIP home page Giter VIP logo

registry-pressure-measurement-tools's Introduction

registry-pressure-measurement-tools

registry-pressure-measurement-tools is a tool that measures the performance of docker registry by using only several few machines.

Introduction

Normally, we perform pressure-measurement of docker registry by executing docker pull on a great number of machines, which is effective and convenient but it will be unuseful when there are no enough machines, and in this more common situation, registry-pressure-measurement-tools put to use.

registry-pressure-measurement-tools is based on openstack test_plans and uses only several few machines to achieve a similar effect as above.

Architecture

Test Plan

  • 1.Build enough images that will be pulled repeatedly by docker.

  • 2.Upload these images to the docker repository with test-repo-formal.py.

    date > file;python test-repo-formal.py >> file;date >> file
  • 3.Delete created images from a local docker on a machine with test tool where docker images was created. After this step created images should be placed in the docker repository and they should be removed from the local docker.

    bash clear.sh
  • 4.Run docker pull in the cycle with concurrency value. You need to perform by one cycle per each CONCURRENCY value from the following list:

    • CONCURRENCY=1
    • CONCURRENCY=100
    • CONCURRENCY=500
    • CONCURRENCY=1000
    date > file;python test-repo-formal.py >> file;date >> file

    As a result of the previous step you should be able to provide the amount of graphs and tables with the dependences on an iteration number of a response time. One graph and one table per each CONCURRENCY. On this step you need to calculate success rate, minima, maxima, average and 90% percental of PULL_TIME parameter per each CONCURRENCY value:

    bash time_cal.sh
    

Attention

  • 1.You need to delete all images after each CONCURRENCY

    bash clear.sh
  • 2.You nedd to build images that will be pulled repeatedly by docker(and again, this is a necessary condition).

  • 3.You should run docker pull on different machines to split the load of resources and network flow.

Refs

registry-pressure-measurement-tools's People

Contributors

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