MEMEXIST(1)

πŸ’… MEMEXIST(1) β€” libmemcached-awesome, bestie edition

okay so first things first, this whole page is memexist, and it straight-up lives in the libmemcached docs family. If you've been looking for the "does this key even exist" detector, congrats babe, you found her. ✨


🌸 NAME

memexist β€” literally the libmemcached Documentation page for it. That's the whole name section, no notes. πŸ’…


πŸ¦‹ SYNOPSIS

memexist [options] <key>

Check for the existence of a key. That's it. That's the job.


✨ DESCRIPTION

So memexist checks for the existence of a key within a cluster. She pokes the cluster, asks "hey is this key in there," and reports back. Simple queen behaviour, no cap. πŸ‘‘


πŸŽ€ OPTIONS

  • -h, --help β€” Display help. Your "what do I even do here" button. 🫢
  • -V, --version β€” Display version. Identity check, love that for her.
  • -q, --quiet β€” Operate quietly. Shy lil vibe. 🀫
  • -v, --verbose β€” Operate more verbosely. Now she's oversharing and honestly? We're listening.
  • -d, --debug β€” See -v, --verbose. Same energy, different flag. πŸ’€
  • -s, --servers <list of servers> β€” Specify the list of servers as hostname[:port][,hostname[:port]...]. Yes, that exact format, copy it, don't freestyle it. ✨
  • -n, --non-blocking β€” Enable non-blocking operations. She doesn't wait around, main character energy fr.
  • -N, --tcp-nodelay β€” Disable Nagle's algorithm. No more batching and holding it in, we go now. πŸ”₯
  • -b, --binary β€” Enable binary protocol. Binary era, iconic. πŸ–€
  • -B, --buffer β€” Buffer requests. Collect them, save them up, cute little stack. πŸŽ€
  • -u, --username <username> β€” Use username for SASL authentication. Gotta show ID at the door. πŸͺͺ
  • -p, --password <password> β€” Use password for SASL authentication. The other half of the secret handshake. πŸ”
  • -H, --hash <algorithm> β€” Use algorithm as key hash algo. See memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH. Yes, that's the exact name, don't shorten it, iykyk. πŸ’…

🌈 ENVIRONMENT

  • MEMCACHED_SERVERS β€” Specify a list of servers. Set it in your environment and she'll just know. 🧚

πŸ’œ NOTES

🧁 PROGRAM PREFIX

The prefix of this program is variable, i.e. it can be configured at build time. So she can literally go by a different name depending on how she was built. Not me being flexible and mysterious. πŸ™ˆ

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp. That's the standard fit. ✨

It can be configured, though, to replace the prefix with something else like mc, in case of that, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively. Glow-up name change, slay. ⭐


πŸ‘€ SEE ALSO

memcached(1) libmemcached(3) β€” go read those next bestie, they're in the friend group too. 🫢


fr fr, that's the whole page. every flag accounted for, nothing ghosted. πŸ’–

k byee β€” this one's 1.1, dated Jul 18, 2024, brought to you by the libmemcached-awesome girlies. periodt. πŸ’…πŸŽ€

πŸ“¦ where this page comes from