Repository

apache/incubator-brpc

brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc. "brpc" means "better RPC".
13920 3445 841 1303
  • 000
Describe the bug (描述bug) I try to bring bRPC in my project. To Reproduce (复现方法) below is my g++ command to build braft client code <built-in>: note: this is the location of the previous definition In file included from /usr/local/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,...
  • 000
根据文档中对默认熔断策略的描述 https://github.com/apache/incubator-brpc/blob/master/docs/cn/circuit_breaker.md#%E9%BB%98%E8%AE%A4%E7%9A%84%E7%86%94%E6%96%AD%E7%AD%96%E7%95%A5 所以假如rpc的超时时间设置的比连接超时更短,那么当节点无法建立连接时,rpc超时会比连接超时更早触发,最终导致永远触发不了熔断。...
  • 000
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?) 方便gdb && pstack 的时候找到bthread 使用线程 Describe the solution you'd like (描述你期望的解决方法) pthread_setname_np Describe alternatives you've considered (描述你想到的折衷方案) 在TaskControl::init, TaskCon...
  • 000
背景:一些使用到的第三方库甚至标准库,都会有抛异常的情况。目前除了thrift,其他协议都没有捕获服务回调方法抛出的异常。这样使用的时候,只能等服务因抛异常而crash后,经过排查修复后,重新上线才能解决问题,相当于需要一次试错的成本。 期望:很多时候,异常case才会触发抛异常的逻辑,不需要让服务crash。其他协议...