@buzuli/wd40

1.7.0 • Public • Published

wd40

NPM version

Benchmark for the squeaky NSQ library.

Installation

$ npm install -g @buzuli/wd40

Running

If you have NSQ installed and running locally bound to 4150:

$ wd40

If you wish to test against another NSQ:

$ wd40 --host <custom-nsq-host>

Options

$ wd40  --help
Options:
  --help                                 Show help                     [boolean]
  --version                              Show version number           [boolean]
  --host, -h                             nsqd host
                                                 [string] [default: "localhost"]
  --port, -p                             nsqd port      [number] [default: 4150]
  --qos, -q                              max outstanding messages
                                                           [number] [default: 1]
  --message-size, -m                     bytes per message[number] [default: 64]
  --batch-size, -b                       messages per batch[number] [default: 1]
  --topic, -t                            topic on which to publish/subscribe
                                           [string] [default: "bench#ephemeral"]
  --channel, -c                          channel on which to subscribe
                                            [string] [default: "wd40#ephemeral"]
  --lib, -l                              the client library to use for NSQ
                                         (nsqjs | squeaky)
                                                   [string] [default: "squeaky"]
  --pub-lib, -P                          the client library to use for NSQ
                                         publishes (nsqjs | squeaky)    [string]
  --sub-lib, -S                          the client library to use for NSQ
                                         subscriptions (nsqjs | squeaky)[string]
  --publisher-count, --pub-count, --pc   number of publisher processes to launch
                                                           [number] [default: 1]
  --subscriber-count, --sub-count, --sc  number of subscriber processes to
                                         launch            [number] [default: 1]
  --min-report-delay, -d                 minimum delay (in ms) between reports
                                                        [number] [default: 1000]
  --max-report-delay, -D                 maximum delay (in ms) between reports
                                                        [number] [default: 5000]
  --log-mode, -L                         set log-a-log mode
                                                       [string] [default: "utc"]
  --brighten-my-day, -B                  brighten my day (overrides --log-mode)
                                                      [boolean] [default: false]

Readme

Keywords

none

Package Sidebar

Install

npm i @buzuli/wd40

Weekly Downloads

2

Version

1.7.0

License

ISC

Unpacked Size

22.6 kB

Total Files

6

Last publish

Collaborators

  • buzuli