GithubHelp home page GithubHelp logo

rabbit-mq-stress-tester's Introduction

rabbit-mq-stress-tester

Compiling

go build

That will produce the executible rabbit-mq-stress-tester

Running

$ ./rabbit-mq-stress-tester -h
NAME:
   tester - Make the rabbit cry

USAGE:
   tester [global options] command [command options] [arguments...]

VERSION:
   0.0.0

COMMANDS:
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --server, -s 'rabbit-mq-test.cs1cloud.internal'	Hostname for RabbitMQ server
   --producer, -p '0'				Number of messages to produce, -1 to produce forever
   --port, -P 						Rabbitmq server port, default 5672
   --user, -u 						Rabbitmq username
   --password, --pass 		Rabbitmq password
   --wait, -w '0'					Number of nanoseconds to wait between publish events
   --consumer, -c '-1'				Number of messages to consume. 0 consumes forever
   --bytes, -b '0'					number of extra bytes to add to the RabbitMQ message payload. About 50K max
   --concurrency, -n '50'			number of reader/writer Goroutines
   --quiet, -q						Print only errors to stdout
   --wait-for-ack, -a				Wait for an ack or nack after enqueueing a message
   --version, -v					print the version
   --help, -h						show help

Examples

Consume messages forever:

./tester -s rabbit-mq-test.cs1cloud.internal -c 0

Produce 100,000 messages of 10KB each, using 50 concurrent goroutines, waiting 100 nanoseconds between each message. Only print to stdout if there is a nack or when you finish.

./tester -s rabbit-mq-test.cs1cloud.internal -p 100000 -b 10000 -w 100 -n 50 -q

rabbit-mq-stress-tester's People

Contributors

asaif avatar agocs avatar abrandemuehl avatar johnlonganecker avatar

Watchers

 avatar James Cloos 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.