You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/01/11 06:30:03 UTC

[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #1525: CSE能支持服务端异步吗?

liubao68 edited a comment on issue #1525: CSE能支持服务端异步吗?
URL: https://github.com/apache/servicecomb-java-chassis/issues/1525#issuecomment-573287538
 
 
   不用。 java-chassis的运行机制和SpringMVC不同。 默认情况下,java-chassis的业务执行都是在独立线程池执行,不占用http请求。 不需要```@async```标签。 你还可以非常简洁的通过配置将某个不同的业务接口,[配置为使用独立的线程池执行](https://docs.servicecomb.io/java-chassis/zh_CN/build-provider/thread-pool.html)
   
   可以通过[设计](https://servicecomb.apache.org/cn/docs/open-design/)、[线程池模型](https://docs.servicecomb.io/java-chassis/zh_CN/general-development/thread-model.html)和[Spring Boot集成](https://docs.servicecomb.io/java-chassis/zh_CN/using-java-chassis-in-spring-boot/using-java-chassis-in-spring-boot.html)了解运行时差异
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services