摘要:
协议格式 The way RESP is used in Redis as a request response protocol is the following: Clients send commands to a Redis server as a RESP Array of Bulk St 阅读全文
摘要:
命令具体实现在 。 Memory 是redis通过在每次执行 和`free src/zmalloc.c used_memory`变量实现的 在linux中是通过读 这个文件的第24个字段 得到number of pages the process in real memory然后再乘以 实现的。 表 阅读全文
摘要:
在标准输入上测试select 实现参考了《UNIX环境高级编程》14.4.1和《UNIX系统编程手册》63.2.1。 运行后给进程发 信号。 select支持的最大数量 在本机的 上`$ uname a Darwin localhost 19.0.0 Darwin Kernel Version 19 阅读全文