随笔 - 225  文章 - 0  评论 - 6  阅读 - 75098
09 2021 档案
RedisProtocol-redis协议翻译
摘要:https://redis.io/topics/protocol/ 原文地址 为了更好的理解redis协议,借助百度翻译和自己理解翻译了这篇文章。 redis协议确实够简单,容易理解。 ********************************************************* 阅读全文
posted @ 2021-09-29 15:29 子虚乌有 阅读(150) 评论(0) 推荐(0) 编辑
redis6.0.5之networking.c阅读笔记-与客户端通讯
摘要:#include "server.h" #include "atomicvar.h" #include <sys/socket.h> #include <sys/uio.h> #include <math.h> #include <ctype.h> static void setProtocolEr 阅读全文
posted @ 2021-09-28 17:29 子虚乌有 阅读(724) 评论(0) 推荐(0) 编辑
redis6.0.5之pubsub.c阅读笔记-发布订阅
摘要:#include "server.h" int clientSubscriptionsCount(client *c); /* * Pubsub client replies API 发布订阅客户端回复API * */ /* Send a pubsub message of type "messag 阅读全文
posted @ 2021-09-28 17:22 子虚乌有 阅读(54) 评论(0) 推荐(0) 编辑
redis6.0.5之slowlog阅读笔记-慢查询
摘要:***********************************h******************************************************** #ifndef __SLOWLOG_H__ #define __SLOWLOG_H__ #define SLOWL 阅读全文
posted @ 2021-09-18 17:10 子虚乌有 阅读(98) 评论(0) 推荐(0) 编辑
redis6.0.5之multi.c阅读笔记-事务相关
摘要:/* MULTI/EXEC */ /* Client state initialization for MULTI/EXEC */ MULTI/EXEC的客户端状态初始化 void initClientMultiState(client *c) { c->mstate.commands = NULL 阅读全文
posted @ 2021-09-18 08:40 子虚乌有 阅读(97) 评论(0) 推荐(0) 编辑
redis6.0.5之notify.c阅读笔记-消息通知
摘要:/* This file implements keyspace events notification via Pub/Sub and * described at https://redis.io/topics/notifications. */ 这个文件通过Pub/Sub实现键空消息通知事件, 阅读全文
posted @ 2021-09-16 17:25 子虚乌有 阅读(127) 评论(0) 推荐(0) 编辑
redis6.0.5之db.c阅读笔记-数据库
摘要:*************************************************************************************************************************** /* * C-level DB API C语言层次的 阅读全文
posted @ 2021-09-15 14:06 子虚乌有 阅读(151) 评论(0) 推荐(0) 编辑
redis6.0.5之evict阅读笔记-内存淘汰策略
摘要:*************************************************************************************************************************** /* * Data structures 数据结构 阅读全文
posted @ 2021-09-02 18:03 子虚乌有 阅读(158) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示