You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/01/05 06:32:46 UTC

[GitHub] [incubator-brpc] Huixxi opened a new issue #1662: brpc是否考虑自身提供无损热升级能力?

Huixxi opened a new issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   目前brpc server的无损热升级依赖业务端Pass平台屏蔽BNS实例的方式实现,一般按照一定的并发度来变更实例,变更每个实例的时候,先在BNS屏蔽该实例,等待BNS下发生效,再重启实例完成升级,然后再BNS解屏蔽。这种热升级方式一般情况下可以实现无损的实例升级,但是当下游集群服务器数量很大,服务器QPS很高的情况下则会带来如热升级时间过长,热升级期间会增加其他机器的负载等一系列问题。综上,brpc是否考虑自身提供无损热升级能力。
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   brpc server重启升级过程能保证已有连接不断开和请求不丢弃,同时能正常接收新请求。
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] JiaoZiLang commented on issue #1662: brpc是否考虑自身提供无损热升级能力?

Posted by GitBox <gi...@apache.org>.
JiaoZiLang commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1008250101


   > > 类似 nginx 的reload方式?
   > 
   > 和reload还不太一样,reload只是热重启,运行的bin文件还是老的bin文件;热升级是新bin文件替换旧的bin文件。
   😄
   


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] Huixxi commented on issue #1662: brpc是否考虑自身提供无损热升级能力?

Posted by GitBox <gi...@apache.org>.
Huixxi commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1008246384


   > 类似 nginx 的reload方式?
   
   和reload还不太一样,reload只是热重启,运行的bin文件还是老的bin文件;热升级是新bin文件替换旧的bin文件。


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] JiaoZiLang commented on issue #1662: brpc是否考虑自身提供无损热升级能力?

Posted by GitBox <gi...@apache.org>.
JiaoZiLang commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1006324291


   > > 
   > 
   > 嗯嗯,类似nginx 的reload方式,还有Envoy的那种hot restart方式。
   
   简单暴力一些,上游服务加重试呗


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] Huixxi commented on issue #1662: brpc是否考虑自身提供无损热升级能力?

Posted by GitBox <gi...@apache.org>.
Huixxi commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1006346464


   > > > 
   > > 
   > > 
   > > 嗯嗯,类似nginx 的reload方式,还有Envoy的那种hot restart方式。
   > 
   > 简单暴力一些,上游服务加重试呗
   
   有损哇


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] JiaoZiLang commented on issue #1662: brpc是否考虑自身提供无损热升级能力?

Posted by GitBox <gi...@apache.org>.
JiaoZiLang commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1006245097


   类似 nginx 的reload方式?
   


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] Huixxi commented on issue #1662: brpc是否考虑自身提供无损热升级能力?

Posted by GitBox <gi...@apache.org>.
Huixxi commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1006272342


   > 
   
   嗯嗯,类似nginx 的reload方式,还有Envoy的那种hot restart方式。


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org