10. redis set & sorted set set 数据结构实现 hashmap (value 为 NULL) sorted set 数据结构实现 hashmap(element->score) skiplist ( 按 element 插入有序 ) 相关参数 s et-max-intset-entries 使用场景 用户发件箱 mid
12. redis 持久化机制 snapshot save 参数 aof appendfsync 参数 vm vm is not the way to go for the future slow restarts,slow saving,slow replication,complex code diskstore key,value stored on disk memory works as a cache ( read through,write back)
15. redis 适用场景 MC + MySQL 不能完全解决 web2.0 的需求 mc 穿透问题,跨机房问题 ,... 众多开源 nosql 百花齐放 Cassandra,Riak,Voldemort Hbase CouchDB,MongoDB,... what we need 小数据量,高速读写访问 大数据量,有明显热点数据 大数据量,无热点数据