You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "spilledyear (via GitHub)" <gi...@apache.org> on 2023/06/12 07:43:30 UTC

[GitHub] [dubbo] spilledyear opened a new issue, #12498: Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动

spilledyear opened a new issue, #12498:
URL: https://github.com/apache/dubbo/issues/12498

   * Dubbo version: 2.7.7
   * Operating System version: macos
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   基于日志调试,最终定位到耗时代码在: AnnotatedInterfaceConfigBeanBuilder#configureBean 方法中,那就针对这个方法采集一下火焰图,如下:
   ![image](https://github.com/apache/dubbo/assets/24663965/459637d7-e4aa-4b6f-8620-0e4e8e90d17d)
   ![image](https://github.com/apache/dubbo/assets/24663965/300dedd0-03b0-46c5-8733-1a293fbee566)
   
   每个ReferenceBean在初始化的完成后都要执行这个方法。通过日志,项目中220ReferenceBean的时候,执行了8400多万次。而如果ReferenceBean#prepareDubboConfigBeans只执行一次,isFactoryBean之会执行5000万次,
   
   


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


Re: [I] Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动 [dubbo]

Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #12498: Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动
URL: https://github.com/apache/dubbo/issues/12498


-- 
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] AlbumenJ commented on issue #12498: Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12498:
URL: https://github.com/apache/dubbo/issues/12498#issuecomment-1588416583

   > > 
   > 
   > > 2.7.x version has been EOL. Please try upgrade to 3.x
   > > 短时间内很难直接升级到3.0啊。针对这个问题,大佬能否先帮忙看看,这种优化方案是否可行
   
   看起来是没啥问题,你可以验证下


-- 
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] AlbumenJ commented on issue #12498: Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12498:
URL: https://github.com/apache/dubbo/issues/12498#issuecomment-1587169914

   2.7.x version has been EOL. Please try upgrade to 3.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.

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] songxiaosheng commented on issue #12498: Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #12498:
URL: https://github.com/apache/dubbo/issues/12498#issuecomment-1588525317

   3.x优化过了  
   <img width="1195" alt="image" src="https://github.com/apache/dubbo/assets/81170548/785b3c1e-24c1-470c-ab4a-824cd57d47ab">
   


-- 
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] spilledyear commented on issue #12498: Dubbo2.7.7 ReferenceBean导致的严重性能问题,影响应用启动

Posted by "spilledyear (via GitHub)" <gi...@apache.org>.
spilledyear commented on issue #12498:
URL: https://github.com/apache/dubbo/issues/12498#issuecomment-1587296934

   > 
   
   
   
   > 2.7.x version has been EOL. Please try upgrade to 3.x
   短时间内很难直接升级到3.0啊。针对这个问题,大佬能否先帮忙看看,这种优化方案是否可行
   


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