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/12/02 03:12:06 UTC

[GitHub] [servicecomb-java-chassis] huanghezhen opened a new issue #2650: 第一次加载服务慢(拓展)

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


   这里可以用 实现一个BootEventListener, 在启动的时候,预加载一下契约 解决
   
   但是 当服务多的时候,写起来很麻烦  我的做法是 写一个rpc  每一个 服务都实现一下  然后在每一个 实现的方法下 调用其他中心的实现
   
   有好的建议吗
   
   并且这样是不是 最好不要同时更新 而是一个一个 的更新
   
   同时更新的时候 会出现 一个服务启动好了 但是加载的还是之前旧版本的 契约
   
   问题:  有没有一个更好的办法来解决 加载问题 并且同时支持 同时启动  (同时启动这个我的理解是做不了 ,总会存在启动好了 另一个服务还在启动中 导致加载的就是旧的契约信息)


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] huanghezhen closed issue #2650: 第一次加载服务慢(拓展)

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


   


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] huanghezhen commented on issue #2650: 第一次加载服务慢(拓展)

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


   或者是  有更优雅的方式来实现  预加载    因为 每次要是增加一个服务的时候 都要去修改之前的代码


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org