VALKEY-BENCHMARK(1)

πŸ“¦
version 9.1.2 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– VALKEY-BENCHMARK(1) πŸ’–

okay so bestie, welcome to the manual page for valkey-benchmark β€” it lives in section 1, the General Commands Manual section, aka the place where all the "yes queen, type this in your shell" commands hang out πŸ‘‘


🌸 NAME 🌸

valkey-benchmark β€” benchmark a Valkey instance. that's the whole job description, she's simple and she's iconic πŸ’…

✨ SYNOPSIS ✨

valkey-benchmark [-h <host>] [-p <port>] [-c <clients>] [-n <requests]>]
[-k <boolean>]

look at those brackets. so many brackets. it's giving "options for days" πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

so Valkey is a key-value database. it's similar to memcached, except β€” and this is the main character detail β€” the dataset is not volatile, and other datatypes (such as lists and sets) are natively supported. no cap, she's got range 🫢

πŸŽ€ OPTIONS πŸŽ€

every single one, bestie. we are not skipping a single flag, that would be a crime fr fr

  • -h hostname β€” the server hostname (default 127.0.0.1)
  • -p port β€” the server port (default 6379)
  • -s socket β€” the server socket, which overrides host and port (she said "I don't care about your -h or -p, I'm built different")
  • -a password β€” password for Valkey Auth
  • -c clients β€” number of parallel connections (default 50)
  • -n requests β€” total number of requests (default 100000)
  • -d size β€” data size of the SET/GET value in bytes (default 2)
  • -dbnum db β€” SELECT the specified db number (default 0)
  • -k boolean β€” 1=keep alive, 0=reconnect (default 1)
  • -r keyspacelen β€” use random keys for SET/GET/INCR, and random values for SADD. with this option the benchmark will get/set keys in the form mykey_rand000000012456 instead of constant keys, and the keyspacelen argument determines the max number of values for the random number. for instance, if it's set to 10, only the rand000000000000 - rand000000000009 range will be allowed. ✨ chaos mode, but make it deterministic ✨
  • -P numreq β€” pipeline numreq requests. default 1 (no pipeline).
  • -q β€” quiet mode. just show query/sec values 🀫
  • --csv β€” output in CSV format πŸ“Š
  • -l β€” loop mode. run the tests forever ♾️
  • -I β€” idle mode. just open N idle connections and wait.
  • -D β€” debug mode. more verbose. πŸ›

πŸ‘‘ AUTHOR πŸ‘‘

valkey-benchmark was written by Salvatore Sanfilippo. 🫢

this manual page was written by Chris Lamb <lamby@debian.org> for the Debian project (but may be used by others).


and that's the whole page bestie, you ate it πŸ’…βœ¨

cute little sign-off: this page is dated June 28, 2010, and it comes to you straight from VALKEY-BENCHMARK(1) in section 1 of the manual. periodt. πŸŽ€