Skip to content

Commit

Permalink
Better sample command for hammer (#138)
Browse files Browse the repository at this point in the history
The previous version had a smaller number of writers than operations to perform, which meant it was often blocked until a batch was flushed. This updates the sample command to values that leave the hammer always performing work instead of blocking.
  • Loading branch information
mhutchinson authored Aug 14, 2024
1 parent a9fe306 commit 50f0714
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hammer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ Example usage to test a deployment of `example-mysql`:
go run ./hammer \
--log_public_key=Test-Betty+df84580a+AQQASqPUZoIHcJAF5mBOryctwFdTV1E0GRY4kEAtTzwB \
--log_url=http://localhost:2024 \
--num_writers=22 \
--max_read_ops=1024 \
--num_readers_random=128 \
--num_readers_full=128 \
--num_writers=256 \
--max_write_ops=42
```

0 comments on commit 50f0714

Please sign in to comment.