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/04/24 06:04:14 UTC

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

wwbmmm commented on issue #1662:
URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1107732409

   > 或者直接把业务代码写到 .so 里面,然后进程根据信号重新 dlopen 这些 .so
   
   不建议这么搞,这样可能会有很多坑,dlopen只是重新加载so中的符号 ,但是对于so中的代码所申请的资源(如内存、fd、线程)是不保证释放的,需要业务代码非常谨慎地处理。而且为了保证升级过程请求平滑处理,会有一段时间新老so并存,这可能会产生符号冲突之类的问题


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