Memcached – Stats Sizes Memcached stats sizes command provides information about the sizes and number of items of each size within the cache. The information is returned in two columns. The first column is the size of the item (rounded up to the nearest 32 byte boundary), and the second column is the count of […]
Category Archives: memcached
Memcached – CAS Command CAS stands for Check-And-Set or Compare-And-Swap. Memcached CAS command is used to set the data if it is not updated since last fetch. If the key does not exist in Memcached, then it returns NOT_FOUND. Syntax The basic syntax of Memcached CAS command is as shown below − set key flags […]
Memcached – Prepend Data Memcached prepend command is used to add some data in an existing key. The data is stored before the existing data of the key. Syntax The basic syntax of Memcached prepend command is as shown below − prepend key flags exptime bytes [noreply] value The keywords in the syntax are as […]