memcache 缓存,关机就丢
redis 持久缓存,存储
字符串、列表、哈希、链表和有序集合
stable 稳定版
下载包
wget
解压包
tar zxf
cd到解压目录
install 和
more redeme.md
more install
make
cd src
./src/redis-server
redis-cli
make PREFIX=/usr/local/redis install
开源工具按说明书做
守护进程redis-config
daemonlize yes
set title rain ex 8 //8 sec die
set title helloworld
rename title biaoti
get title //nul
get biaoti//helloworld
exists title //isset
set name poly ex 3
exists name
gettpye
typeof
ttl title //life time
字节位操作 汇编 字节码
A 8位字节 01000 0000