MEMSLAP(1)

MEMSLAP(1) β€” libmemcached-awesome πŸŽ€

okay bestie, welcome to the memslap page from libmemcached-awesome πŸ’– this is the group-chat version, but every fact is still here, fr fr.

πŸ’– NAME

memslap β€” libmemcached Documentation πŸ“š

✨ SYNOPSIS

memslap [options]

Load testing and benchmarking a server πŸš€

🌸 DESCRIPTION

memslap is a load generation and benchmark tool for memcached(1) servers. It generates configurable workload such as threads, concurrencies, connections, run time, overwrite, miss rate, key size, value size, get/set proportion, expected throughput, and so on. πŸ‘‘

πŸ’… OPTIONS

  • -h, --help β€” display help 🫢
  • -V, --version β€” display version ✨
  • -q, --quiet β€” operate quietly 🀫
  • -v, --verbose β€” operate more verbosely πŸ—£οΈ
  • -d, --debug β€” see -v|--verbose πŸ‘€
  • -s, --servers β€” specify the list of servers as <list of servers>, written like hostname[:port][,hostname[:port]...] 🌐
  • -n, --non-blocking β€” enable non-blocking operations ⚑
  • -N, --tcp-nodelay β€” disable Nagle's algorithm 🚫
  • -b, --binary β€” enable binary protocol πŸ”’
  • -B, --buffer β€” buffer requests 🧺
  • -u, --username β€” use <username> for SASL authentication πŸ‘€
  • -p, --password β€” use <password> for SASL authentication πŸ”
  • -H, --hash β€” use <algorithm> as key hash algo; see memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH 🧬
  • -U, --udp β€” enable UDP operation mode πŸ“‘
  • -R, --noreply β€” enable the NOREPLY behavior for storage commands πŸ“­
  • -F, --flush β€” flush all servers prior test 🚽 (heads up, bestie)
  • -t, --test β€” test to perform: get, mget, or set; default: get 🎯
  • -c, --concurrency β€” concurrency, aka number of threads to start; default: 1 🧡
  • -e, --execute-number β€” number of times to execute the tests; default: 10000 πŸ”
  • -l, --initial-load β€” number of keys to load before executing tests; default: 10000 πŸ“¦

πŸ¦‹ ENVIRONMENT

  • MEMCACHED_SERVERS β€” specify a list of servers 🌍

πŸ“ NOTES

πŸŽ€ PROGRAM PREFIX

okay so the prefix of this program is variable, i.e. it can be configured at build time. πŸ‘‘

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp. πŸŽ€

It can be configured, though, to replace the prefix with something else like mc; in that case, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively. πŸ’…

πŸ”— SEE ALSO


πŸ’– that's the whole MEMSLAP(1) page, bestie β€” version 1.1, dated Jul 18, 2024, from libmemcached-awesome. mwah 🫢

πŸ“¦ where this page comes from