袁遗的头像 ID: 86397554707

袁遗

HelloWorld 社区成员

3320177370

文章5
个人网站0
加入社区2025

Redis内存占用计算

SDSRedis对字符串进行了封装,定义如下:<pre<codetypedefcharsds;structsdshdr{unsignedintlen;unsignedintfree;charbuf;};</code<

openresty读取环境变量

全局配置中定义env<pre<codeevents{...}envBPM_SERVICE_HOST;envBPM_SERVICE_PORT;</code</preservice中获取<pre<codeset_by_lua$bpm_ho