web server 上抓的 log 转化为 svg 文件,打开后看到"crc32_combine64", "inflateMark", "write_nocancel", "connect_nocancel", "__close_nocancel","ngx_http_write_filter"几个顶部都比较宽,请问大神瓶颈有哪些?
图是 on-CPU,connect 和 close 那个应该是 tcp 打开关闭频繁,但不知道是不是也属于原因。
另外还有个 deflate 出现频率也很高,初步估计因为开启了 gzip 等原因,compress level 为 7.
write nocanel 不知道什么意思,ngx http write 的话大概是 body 写的比较多?
大概跑了 100 并发量,4 核 8G web,8 核 8G db。