MEMSLAP(1)

✨ MEMSLAP ✨

okay bestie, so this lil cutie lives in the libmemcached-awesome collection, and its whole personality is "let me absolutely stress-test your memcached server and see what happens" πŸ’… she's a man page, she's a mood, and she's about to tell you everything.


πŸŽ€ NAME πŸŽ€

memslap β€” libmemcached Documentation. yeah she's the documentation, she knows it, she owns it.


🌸 SYNOPSIS 🌸

memslap [options]

Load testing and benchmarking a server. that's the whole job, that's the whole vibe, no cap. πŸ”₯


πŸ’– DESCRIPTION πŸ’–

memslap is a load generation and benchmark tool for memcached(1) servers (link: https://linux.die.net/man/1/memcached). she generates configurable workload β€” like, you pick the chaos and she delivers it πŸ’… that includes threads, concurrencies, connections, run time, overwrite, miss rate, key size, value size, get/set proportion, expected throughput, and like… so much more. it's giving "personalized stress test, hand-crafted just for your server" ✨


πŸ¦‹ OPTIONS πŸ¦‹

  • -h, --help β€” show the help. the classic. the girl you call when you're lost πŸ₯Ί
  • -V, --version β€” display the version. say hi to the number.
  • -q, --quiet β€” operate quietly. shhh, she's in her silent era 🀫
  • -v, --verbose β€” operate more verbosely. she will not stop talking and honestly? iconic.
  • -d, --debug β€” literally just see -v/--verbose. same energy, different flag πŸ’€
  • -s, --servers <list of servers> β€” spill the list of servers, formatted like hostname[:port][,hostname[:port]...]. commas, colons, chaos, all of it.
  • -n, --non-blocking β€” turn on non-blocking operations. no waiting around, she's busy πŸƒβ€β™€οΈ
  • -N, --tcp-nodelay β€” disable Nagle's algorithm. bye-bye buffering delay πŸ‘‹
  • -b, --binary β€” enable the binary protocol. binary slay.
  • -B, --buffer β€” buffer the requests. save 'em up, send 'em out πŸ“¦
  • -u, --username <username> β€” use username for SASL authentication.
  • -p, --password <password> β€” use password for SASL authentication. keep it secret, keep it safe πŸ”
  • -H, --hash &lt;algorithm&gt; β€” use algorithm as the key hash algo. peep memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH <#_CPPv4N20memcached_behavior_t23MEMCACHED_BEHAVIOR_HASHE> for the lore.
  • -U, --udp β€” enable UDP operation mode. UDP girlies rise 🌈
  • -R, --noreply β€” enable the NOREPLY behavior for storage commands. she said what she said, she's not waiting for a response πŸ’…
  • -F, --flush β€” flush all servers before the test. clean slate, fresh start ✨
  • -t, --test &lt;arg&gt; β€” the test to perform. options: get, mget, set. default: get.
  • -c, --concurrency &lt;num&gt; β€” concurrency, aka the number of threads to start. default: 1.
  • -e, --execute-number &lt;num&gt; β€” how many times to execute the tests. default: 10000.
  • -l, --initial-load &lt;num&gt; β€” how many keys to load before executing the tests. default: 10000.

πŸ’œ ENVIRONMENT πŸ’œ

  • MEMCACHED_SERVERS β€” specify a list of servers, via the environment, like a lil shortcut 🫢

🧚 NOTES 🧚

🌟 PROGRAM PREFIX 🌟

the prefix of this program is variable, meaning it can literally be configured at build time. she's flexible like that πŸ’…

usually, the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp.

but it can be configured to swap that prefix out for something else, like mc. and in that case, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively. same program, different name tag 🏷️✨


🌈 SEE ALSO 🌈


and that's the whole page, bestie 🫢 libmemcached-awesome, version 1.1, dated Jul 24, 2026 β€” like, she's literally MEMSLAP(1) and she ate. go benchmark something responsibly, mwah πŸ’–πŸŽ€

πŸ“¦ where this page comes from