摘要: 深入Redis服务器启动过程 1. 服务器状态结构的初始化 首先,创建一个struct redisServer 类型的实例变量 server 作为服务器的状态。 其次,调用redis.c/ initServerConfig 函数来初始化 server 变量。 ​ initServerConfig 函 阅读全文
posted @ 2020-03-30 15:27 昂迪梵德 阅读(466) 评论(0) 推荐(0) 编辑
摘要: Redis服务器重要属性详解 1. cronloops 属性 cronloops 属性是一个计数器,用于记录服务器的 serverCron 函数被执行的次数,是一个 int 类型的整数。 2. rdb_child_pid 与 aof_child_pid 属性 rdb_child_pid 和 aof_ 阅读全文
posted @ 2020-03-30 09:30 昂迪梵德 阅读(349) 评论(0) 推荐(0) 编辑