Memcached distributed memory caching. Use for simple caching.
Memcached is a high-performance, distributed memory object caching system. It is simpler than Redis. It does arguably one thing: Key-Value caching of strings/objects in RAM.
# Telnet interface
set mykey 0 60 4
data
STORED
get mykey
VALUE mykey 0 4
data
END
Memcached manages memory in "Classes" of chunks (Slabs) to prevent fragmentation.
When full, it evicts the oldest unused items.
If you restart, data is gone.
Do:
Don't: