john1337 commented on issue #7835:
URL: 
https://github.com/apache/incubator-seata/issues/7835#issuecomment-3615829123

   GlobalBeginRequest 
与GlobalCommitRequest消息的处理最终都会路由到AbstractNettyRemoting类的processMessage方法处理,
   而这个方法的执行最终是由一个传统线程池处理掉的,这个线程池的配置默认是corePoolSize为50,maximumPoolSize为500,但是 
queue队列长度长达20000,也就是说如果如果有些接口处理超时的话可能会导致后续所有GlobalBeginRequest 
等类似请求处理进入线程池等待队列中,这个就会增加对应请求处理时长,所以我准备增加corePoolSize、适当减少queue队列长度,GlobalBeginRequest
 实际上也会涉及到写redis、或者本地file的操作(这些写操作也会加锁,所以如果操作处理慢也会增加锁的时长) ,我考虑将Server 
start方法中的线程池更换成jdk21的虚拟线程,这个是不是更好,不知有没有什么隐患  @funky-eyes 
    


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to