Closed masterOcean closed 5 months ago
bifromq 性能测试可能阻塞点 3台节点组成 bifromq 集群,连接了 4w client,每个 client 发送 4k 的 body, 集群的 direct memory 很快就满了然后集群就宕机了。我们抓了正常压测下的集群 bootstrap 节点的 off-cpu 火焰图(arthas 抓取 event type 为 lock 的火焰图),发现可能的阻塞点可能在DistWorkerCoProcFactory的 ForkJoinPool ,98%的时间是在 ForkJoinPool 上。 Netty 网络收发只占了 2% 时间不到
BifroMQ
bifromq 性能测试可能阻塞点 3台节点组成 bifromq 集群,连接了 4w client,每个 client 发送 4k 的 body, 集群的 direct memory 很快就满了然后集群就宕机了。我们抓了正常压测下的集群 bootstrap 节点的 off-cpu 火焰图(arthas 抓取 event type 为 lock 的火焰图),发现可能的阻塞点可能在DistWorkerCoProcFactory的 ForkJoinPool ,98%的时间是在 ForkJoinPool 上。 Netty 网络收发只占了 2% 时间不到
BifroMQ