单线程 redis 以单线程处理客户端命令,一次只执行一条命令;单线程为什么这么快? 纯内存非阻塞 IO避免线程切换和竟态消耗线上不要使用长(慢)命令 keysflushallflushdbslow lua scriptmutil/execoperate big value(collection)