Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b35e20d1
Unverified
Commit
b35e20d1
authored
Jul 05, 2023
by
Job Henandez Lara
Committed by
GitHub
Jul 05, 2023
Browse files
redis-benchmark: add documentation for the amount of clients needed (#12372)
In cluster mode, we need more clients than the number of nodes.
parent
d56a7d9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
b35e20d1
...
@@ -1614,7 +1614,9 @@ usage:
...
@@ -1614,7 +1614,9 @@ usage:
" -a <password> Password for Redis Auth
\n
"
" -a <password> Password for Redis Auth
\n
"
" --user <username> Used to send ACL style 'AUTH username pass'. Needs -a.
\n
"
" --user <username> Used to send ACL style 'AUTH username pass'. Needs -a.
\n
"
" -u <uri> Server URI.
\n
"
" -u <uri> Server URI.
\n
"
" -c <clients> Number of parallel connections (default 50)
\n
"
" -c <clients> Number of parallel connections (default 50).
\n
"
" Note: If --cluster is used then number of clients has to be
\n
"
" the same or higher than the number of nodes.
\n
"
" -n <requests> Total number of requests (default 100000)
\n
"
" -n <requests> Total number of requests (default 100000)
\n
"
" -d <size> Data size of SET/GET value in bytes (default 3)
\n
"
" -d <size> Data size of SET/GET value in bytes (default 3)
\n
"
" --dbnum <db> SELECT the specified db number (default 0)
\n
"
" --dbnum <db> SELECT the specified db number (default 0)
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment