Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustin/gohammer
It's hammer. In go.
https://github.com/dustin/gohammer
Last synced: 3 days ago
JSON representation
It's hammer. In go.
- Host: GitHub
- URL: https://github.com/dustin/gohammer
- Owner: dustin
- Created: 2010-11-04T07:25:42.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-11-01T07:22:59.000Z (about 12 years ago)
- Last Synced: 2024-11-11T13:06:21.924Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# gohammer
This is yet another memcached testing tool. I wrote it because I had
a specific need for a specific traffic pattern and I hadn't written
any code in go lately.## What it Does
Basically, it just opens up a bunch of connections to memcached (based
on the `concurrency` flag) and starts doing whatever the controller
sticks on its channel.My current test takes a fixed set of keys and does the following
in a loop:1. Shuffle list of keys and `add` all values.
2. Shuffle list of keys and `get` all values.
3. Shuffle list of keys and `delete` all values.Every five seconds, the overall rates and number of each type of
command is reported to stdout.## Usage
% ./gohammer -h
flag provided but not defined: -h
Usage of ./gohammer:
-prot="tcp": Layer 3 protocol (tcp, tcp4, tcp6)
-dest="localhost:11211": Host:port to connect to
-keys=1000000: Number of keys
-bodylen=20: Number of bytes of value
-concurrency=32: Number of concurrent clients...that's about it