Code Monkey home page Code Monkey logo

docker-wrk's Introduction

Docker-Wrk

GitHub Build Status Build Status

Summary

Repository name in GitHub Container Registry (new): ghcr.io/william-yeh/wrk and in Docker Hub (old): williamyeh/wrk

This repository contains Dockerized wrk, published to the public container registry via automated build mechanism.

Configuration

This docker image contains the following software stack:

Total image size is less than 30 MB.

Dependencies

History

Installation

Pull all versions:

$ docker pull ghcr.io/william-yeh/wrk:latest

Pull specific version:

$ docker pull ghcr.io/william-yeh/wrk:4.2.0

Comparison

See the following screencast for a simple comparison between native vs. Dockerized versions of wrk: http://youtu.be/bXF6blDP0s0

Usage

Show usage

$ docker run --rm ghcr.io/william-yeh/wrk

Script example

$ docker run --rm  -v `pwd`:/data  \
      ghcr.io/william-yeh/wrk      \
      -s script.lua  http://www.google.com/

More examples

Digital Ocean has a great introduction to this utility: How To Benchmark HTTP Latency with wrk on Ubuntu 14.04

docker-wrk's People

Contributors

william-yeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-wrk's Issues

Data Dir

Hi I think this is probably more of a docker question, but I don't know much about it and it may be in your domain. The -v flag used when looking at scripts is using the pwd:/data dir. I am using my lua script to write something out and it works, my question is how and why?

I do not have a data directory and I only specify output in the lua script itself. So how does wrk know where to find the file and where to write the results?

EXAMPLE:

My PWD is -> users/mcale/Desktop/lua

The script is located at -> users/mcale/Desktop/lua/reportCreator.lua

The command I run is ->
docker run --rm -vpwd:/data williamyeh/wrk -c5 -s reportCreator.lua http://test.mycustomurl.com/

This does not work unless I specify the non-existent :/data dir

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.