Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
v0.3.0
-
None
Description
I ran into a problem where performance dropped dramatically when I switched on two strategies.These two policies subscribe to two kafka topics, respectively. I looked at processes that were using too much CPU, and found that the performance bottlenecks were in the spout send phase.The topics I subscribed to were divided into 10 sections, and the numOfSpoutTasks I configured was 20. How shall I adjust the performance problem?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
我遇到了一个问题,在我开启了两个策略的时候,性能会急剧下降。这两个策略分别订阅两个kafka topic,我查看了CPU使用过高的进程,发现性能瓶颈都是在spout发送这一环节。我订阅的topic分别有10个分区,我配置的numOfSpoutTasks是20.请问我要怎么调整这个性能问题。