Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
从redis读取大量数据到sharddict,cpu100%
fc13240
我现在有一个场景,外部程序向redis存数据,lua单独一个接口,每分钟调用,判断redis里是否有数据,读取数据存到shard,数据有6000多条(key),base64gzip压缩的字符串,有的时候一个nginx进程cpu100%,有的时候4个都100%,持续时间1分钟左右。
火焰图和系统进程如下: