You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/04/26 09:51:05 UTC
[GitHub] [dubbo] ppj19891020 opened a new issue, #9973: 网关应用泛化调用dubbo性能差
ppj19891020 opened a new issue, #9973:
URL: https://github.com/apache/dubbo/issues/9973
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
## Ask your question here
dubbo版本:2.7.8 至 3.0.7
场景:网关应用泛化调用dubbo每次都会走到ClassUtils.forName,由于是泛化调用,每次都是找不到method
压测火焰图:

备注:
dubbo在2.7.1版本中发现也有这个代码,但是没有走这个ClassUtils.forName,还未找到原因
建议:
目前你们新版本是provider方增加了CommonConstants.GENERIC_WITH_CLZ_KEY启动参数来设置这个class属性,但是消费者还是通过获取class去找到class,只要能获取到class就需要走ClassUtils.forName。
建议能不能消费侧也可以增加一个启动参数来设置需不需要通过ClassUtils.forName
--
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] AlbumenJ closed issue #9973: 网关应用泛化调用dubbo性能差
Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #9973: 网关应用泛化调用dubbo性能差
URL: https://github.com/apache/dubbo/issues/9973
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] chickenlj commented on issue #9973: 网关应用泛化调用dubbo性能差
Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9973:
URL: https://github.com/apache/dubbo/issues/9973#issuecomment-1120690630
> 建议能不能消费侧也可以增加一个启动参数来设置需不需要通过ClassUtils.forName
将在。3.0.9 版本中予以支持
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org