任何相容 Memcached 協議的用戶端都可以訪問ApsaraDB for Memcache服務,您可以根據自身應用特點選用支援 SASL 和 Memcached Binary Protocol 的任何 Memcached 用戶端。
協議
Memcached Binary Protocol(二進位協議)
SASL 認證協議
操作
ApsaraDB for Memcache支援如下命令操作。
作業碼 | 操作命令 | 備忘 |
0x00 | Get | |
0x01 | Set | |
0x02 | Add | |
0x03 | Replace | |
0x04 | Delete | |
0x05 | Increment | |
0x06 | Decrement | |
0x07 | Quit | |
0x08 | Flush | 不支援傳入到期時間參數(expiration),執行後立即清除所有快取資料 |
0x09 | GetQ | |
0x0a | No-op | |
0x0b | Version | |
0x0c | GetK | |
0x0d | GetKQ | |
0x0e | Append | |
0x0f | Prepend | |
0x10 | Stat | 不支援 |
0x11 | SetQ | |
0x12 | AddQ | |
0x13 | ReplaceQ | |
0x14 | DeleteQ | |
0x15 | IncrementQ | |
0x16 | DecrementQ | |
0x17 | QuitQ | |
0x18 | FlushQ | 不支援傳入到期時間參數(expiration),執行後立即清除所有快取資料 |
0x19 | AppendQ | |
0x1a | PrependQ | |
0x1b | Verbosity | 不支援 |
0x1c | Touch | |
0x1d | GAT | |
0x1e | GATQ | |
0x20 | SASL list mechs | |
0x21 | SASL Auth | |
0x22 | SASL Step |
文本協議支援的命令
get
gets
set
add
replace
append
prepend
cas
delete
quit
incr
decr
touch
flush_all
version