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 2021/01/16 09:07:45 UTC

[GitHub] [servicecomb-java-chassis] five111 opened a new issue #2200: 关于servicecomb中vertx性能的咨询

five111 opened a new issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200


    servicecomb服务端大量使用了vertx,请问这种异步方式对比传统现成池方式的性能提升有多大。有没有具体一些的性能测试数据?


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-770522954


   java-chassis不对外提供任何官方的性能测试报告。业务可以结合实际的业务场景和运行环境进行一个实际验证。 servicecomb-samples项目提供了很多rest over serlvet/vert.x的例子,可以直接使用这些例子进行测试,或者结合业务场景进行少量修改进行测试。 


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-770522954


   java-chassis不对外提供任何官方的性能测试报告。业务可以结合需要的业务场景和运行环境进行一个实际验证。 


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 removed a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 removed a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-766615566


   我看了链接中的文章,其主要描述的是单consumer->单producer的场景,我认为这种场景主要测试的是两个服务之间调用的性能,
   这种场景下servicecomb核心服务之如config-center service-center应该是不会产生交互的 。我更关注的是使用了vertx的config-center的性能如何


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-769551550


   抱歉 我的描述可能不够准确 servicecomb 中restful支持 over servlet和 over vertx两种模式 我目前比较关心的是这两种模式性能差异 最好能提供一些性能测试报告


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-769551550


   抱歉 我的描述可能不够准确 servicecomb 中rest通信支持 over servlet和 over vertx两种模式 我目前比较关心的是这两种模式性能差异 最好能提供一些性能测试报告


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-770509896


   > over servlet 就是你们使用的容器的性能, 如果是 tomcat 的话,大约是 1/5。 这个是以前验证的经验值,仅供参考,在不同的优化条件下差异比较大。
   有个疑问, 这个1/5 tomcat是否开启了nio?还是希望能够提供一些官方的测试报告。我们目前很多项目都是通过servlet容器进行部署的,这个5倍的效率非常令人激动,如果有一些较为具体的测试报告,我们可以有很大的推力去推动大家进行一个servicecomb的应用
   > 业务选型的时候, 框架性能多数情况下不是一个主要考量因素, 因为业务性能一般都是主要瓶颈,所以性能差异表现的并不明显。 以后切换运行模式也是简单的,不需要改代码。
   
   


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-770509896


   > over servlet 就是你们使用的容器的性能, 如果是 tomcat 的话,大约是 1/5。 这个是以前验证的经验值,仅供参考,在不同的优化条件下差异比较大。
   有个疑问, 这个1/5 tomcat是否开启了nio?还是希望能够提供一些官方的测试报告。我们目前很多项目都是通过servlet容器进行部署的,这个5倍的效率非常令人激动,如果有一些较为具体的测试报告,我们可以有很大的推力去推动大家进行一个servicecomb的应用
   
   


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-770522954


   java-chassis不对外提供任何官方的性能测试报告。业务可以结合实际的业务场景和运行环境进行一个实际验证。 


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 closed issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 closed issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200


   


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-769665347


   over servlet 就是你们使用的容器的性能, 如果是 tomcat 的话,大约是 1/5。 这个是以前验证的经验值。 
   业务选型的时候, 框架性能多数情况下不是一个主要考量因素, 因为业务性能一般都是主要瓶颈。 以后切换运行模式也是简单的,不需要改代码。 


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-769665347


   over servlet 就是你们使用的容器的性能, 如果是 tomcat 的话,大约是 1/5。 这个是以前验证的经验值,仅供参考,在不同的优化条件下差异比较大。 
   业务选型的时候, 框架性能多数情况下不是一个主要考量因素, 因为业务性能一般都是主要瓶颈,所以性能差异表现的并不明显。 以后切换运行模式也是简单的,不需要改代码。 


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 removed a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 removed a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-766615566


   我看了链接中的文章,其主要描述的是单consumer->单producer的场景,我认为这种场景主要测试的是两个服务之间调用的性能,
   这种场景下servicecomb核心服务之如config-center service-center应该是不会产生交互的 。我更关注的是使用了vertx的config-center的性能如何


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-766615566


   我看了链接中的文章,其主要描述的是单consumer->单producer的场景,我认为这种场景主要测试的是两个服务之间调用的性能,
   这种场景下servicecomb核心服务之如config-center service-center应该是不会产生交互的 。我更关注的是使用了vertx的config-center的性能如何


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-769665347


   over servlet 就是你们使用的容器的性能, 如果是 tomcat 的话,大约是 1/5。 这个是以前验证的经验值,仅供参考,在不同的优化条件下差异比较大。 
   业务选型的时候, 框架性能多数情况下不是一个主要考量因素, 因为业务性能一般都是主要瓶颈。 以后切换运行模式也是简单的,不需要改代码。 


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-766615566


   我看了链接中的文章,其主要描述的是单consumer->单producer的场景,我认为这种场景主要测试的是两个服务之间调用的性能,
   这种场景下servicecomb核心服务之如config-center service-center应该是不会产生交互的 。我更关注的是使用了vertx的config-center的性能如何


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] wujimin commented on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
wujimin commented on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-761588121


   https://www.itread01.com/hkcqcqhk.html   
   可以参考一下这个  
   
   ![测试结果](https://img2.tuicool.com/7jaEvy3.png)


----------------------------------------------------------------
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



[GitHub] [servicecomb-java-chassis] five111 edited a comment on issue #2200: 关于servicecomb中vertx性能的咨询

Posted by GitBox <gi...@apache.org>.
five111 edited a comment on issue #2200:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2200#issuecomment-770509896


   有个疑问, 这个1/5 tomcat是否开启了nio?还是希望能够提供一些官方的测试报告。我们目前很多项目都是通过servlet容器进行部署的,这个5倍的效率非常令人激动,如果有一些较为具体的测试报告,我们可以有很大的推力去推动大家进行一个servicecomb的应用
   
   


----------------------------------------------------------------
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