摘要:
导火索:由于万恶的fastjson反序列化漏洞,不得不对一个很老的系统进行升级发布。 问题:当系统发布后,陆续收到fullgc的告警,经过一段时间运行后告警频率慢慢降低。找运维要了gc日志。日志如下: {Heap before GC invocations=11 (full 5): par new 阅读全文
摘要:
redis源码分析笔记之客户端 结构定义 源码: /* server.h 5.0.8 *With multiplexing we need to take per-client state. * Clients are taken in a linked list. */ typedef struc 阅读全文
摘要:
部分源码解读(5.0.8版本) 定义结构: /* Note: sdshdr5 is never used, we just access the flags byte directly. * However is here to document the layout of type 5 SDS s 阅读全文