You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "senlizishi (via GitHub)" <gi...@apache.org> on 2023/04/17 10:15:42 UTC

[GitHub] [incubator-streampark] senlizishi commented on a diff in pull request #2644: Add @AllowConcurrentEvents annotation

senlizishi commented on code in PR #2644:
URL: https://github.com/apache/incubator-streampark/pull/2644#discussion_r1168475367


##########
streampark-flink/streampark-flink-kubernetes/src/main/scala/org/apache/streampark/flink/kubernetes/ChangeEventBus.scala:
##########
@@ -24,11 +24,11 @@ import java.util.concurrent.{LinkedBlockingQueue, ThreadPoolExecutor, TimeUnit}
 class ChangeEventBus {
 
   private val execPool = new ThreadPoolExecutor(
-    Runtime.getRuntime.availableProcessors * 10,
-    Runtime.getRuntime.availableProcessors * 20,
+    Runtime.getRuntime.availableProcessors * 2,

Review Comment:
   I think the efficiency has been greatly improved by turning it into multi-threaded asynchronous, so there is no need for such high configuration.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org