forked from iopsystems/rpc-perf
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add approximate compression ratio for messages and values (iops…
…ystems#191) Adds approximate compression ratio targeting for messages and values. This is done by limiting the number of random bytes in the payload to the first N bytes and iteratively estimating the compression ratio using gzip.
- Loading branch information
Showing
13 changed files
with
155 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# A configuration that can be used as a smoketest against a memcached instance. | ||
|
||
[general] | ||
protocol = "memcache" | ||
interval = 1 | ||
duration = 60 | ||
metrics_output = "rpcperf.parquet" | ||
metrics_format = "parquet" | ||
admin = "127.0.0.1:9090" | ||
|
||
[debug] | ||
log_level = "info" | ||
log_backup = "rpc-perf.log.old" | ||
log_max_size = 1073741824 | ||
|
||
[target] | ||
endpoints = [ | ||
"127.0.0.1:11211", | ||
] | ||
|
||
[client] | ||
threads = 4 | ||
poolsize = 20 | ||
connect_timeout = 10000 | ||
request_timeout = 1000 | ||
|
||
[workload] | ||
threads = 1 | ||
|
||
[workload.ratelimit] | ||
start = 10_000 | ||
|
||
[[workload.keyspace]] | ||
weight = 1 | ||
klen = 32 | ||
nkeys = 1_000_000 | ||
vlen = 128 | ||
vkind = "bytes" | ||
compression_ratio = 10.0 | ||
commands = [ | ||
{ verb = "get", weight = 80 }, | ||
{ verb = "set", weight = 20 }, | ||
{ verb = "delete", weight = 0 }, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters