Redis源码目录结构
2021-09-28 13:42:21 31 举报
AI智能生成
登录查看完整内容
Redis v5.0.8 源码目录结构
作者其他创作
大纲/内容
hiredis 源码
jemalloc 源码
linenoise 源码
lua 脚本源码
deps 目录
第三方依赖库
modules 示例代码
anet.h
anet.c
TCP Socket
server.h
server.c
初始化、主控制流程
networking.c
客户端实现
ae.h
ae.c
ae_epoll.c
ae_evport.c
ae_kqueue.c
ae_select.c
网络通信框架
服务器实例
sds.h
sds.c
sdsalloc.h
SDS
adlist.h
adlist.c
双向链表(List)
ziplist.h
ziplist.c
压缩列表(List\\Hash\\Sorted Set)
quicklist.h
quicklist.c
QuickList(List\\Hash\\Sorted Set)
intset.h
intset.c
整数列表(Set)
zipmap.h
zipmap.c
Zipmap(Hash)
dict.h
dict.c
哈希表(Hash)
hyperloglog.c
HyperLogLog(HyperLogLog)
geo.h
geo.c
geohash.h
geohash.c
geohash_helper.h
geohash_helper.c
GeoHash(Geo)
bitops.c
位图(位图)
stream.h
stream.c
Stream(时序数据)
底层数据结构
db.c
数据库操作
zmalloc.h
zmalloc.c
内存分配
expire.c
lazyfree.c
内存挥手
evict.c
数据替换
内存优化
rdb.h
rdb.c
redis-check-rdb.c
内存快照 RDB
aof.c
redis-check-aof.c
AOF 日志
数据持久化实现
replication.c
cluster.h
cluster.c
主从复制实现
latency.h
latency.c
操作延迟监控
slowlog.h
slowlog.c
慢命令记录
辅助功能
redis-benchmark.c
性能测试
各模块代码
src 目录
assets
helpers
modules
support
unit 单元测试代码
cluster 集群功能测试代码
sentinel 哨兵功能测试代码
integration 主从复制功能测试代码
tests 目录
测试支撑代码
测试代码
创建集群工具
create-cluster
rehash过程可视化代码
hashtable
hyperloglog 误差率计算和展示代码
hyperloglog
LRU算法
lru
utils 目录
辅助工具
Redis配置文件
redis.conf
哨兵配置文件
sentinel.conf
配置文件
Redis 源码目录
0 条评论
回复 删除
下一页