都说redis是单线程执行命令,假设我测试一个单点redis,数据量在1g左右时,用keys操作应该会把redis堵死,为什么还能进行别的操作?
怪我咯2017-04-26 09:03:28
The internal implementation of redis uses epoll, using epoll + a simple event framework implemented by itself. Read, write, close and connect in epoll are all converted into events, and then use the multiplexing feature of epoll to never waste any time on io