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/08/29 09:47:21 UTC

[GitHub] [dubbo] jingshouyan commented on issue #10517: 通过@DubboReference方式注入服务,如何提前完成初始化工作,避免服务接口首次调用出现耗时较久的问题。

jingshouyan commented on issue #10517:
URL: https://github.com/apache/dubbo/issues/10517#issuecomment-1230036120

   这样没办法处理服务的上下线或缩扩容。
   A 依赖B服务,但A启动时B还没启动完成,如何监听B上线呢,因为B上线时A需要预热
   
   > 加一个在接受请求进来前的时间点调 rpc 接口,数据自己造一下
   > 
   > 可以使用回声测试 https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/echo-service/
   
   


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