Redis 数据结构底层:从 SDS 到跳表

Redis 快,一半靠单线程避免锁竞争,另一半靠每个类型背后都有一套"为场景定制的数据结构"。用 OBJECT ENCODING 观察 key 的底层编码,是排查内存暴涨和大 key 的第一步。 SDS:为什么不用 C …

lbk_runtime@engineering-notes: ~ hover 展开 · Esc 收起
Last login: 2026-11-18 21:06:07 from console $ whoami LBK_Runtime — 后端 & AI 工程师,写 engineering-notes $ neofetch site: engineering-notes author: LBK_Runtime posts: 93 篇 · tags: 44 个 rss: /index.xml hint: 输入 help 查看可用命令
lbk_runtime@engineering-notes:~$