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 likehostname[: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<algorithm> β use algorithm as the key hash algo. peepmemcached_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<arg> β the test to perform. options:get,mget,set. default:get.-c,--concurrency<num> β concurrency, aka the number of threads to start. default:1.-e,--execute-number<num> β how many times to execute the tests. default:10000.-l,--initial-load<num> β 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 π
memcached(1)(link:https://linux.die.net/man/1/memcached)libmemcached(3)(link:https://linux.die.net/man/3/libmemcached)- β’ C/C++ Client Library for memcached <>
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
- ubuntu stonking: libmemcached-tools 1.1.4-1.2build1 Β· BSD-3-clause-TangentOrg
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms