brpc
brpc copied to clipboard
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...
**Describe the bug (描述bug)** ERROR: /home/xxx/.cache/bazel/_bazel_szq/b7f169e30d91fc83d5236eaff6188978/external/bazel_tools/tools/osx/BUILD: no such target '@bazel_tools//tools/osx:darwin': target 'darwin' not declared in package 'tools/osx' defined by /home/xxx/.cache/bazel/_bazel_szq/b7f169e30d91fc83d5236eaff6188978/external/bazel_tools/tools/osx/BUILD (Tip: use `query "@bazel_tools//tools/osx:*"` to see all the targets in...
如果通信的数据很小,通常都是数百字节的情况下,使用rdma能降低延迟么? 因为现在公司网络环境问题,暂时没有rdma环境,借用服务器验证echo示例,循环百万次发现rdma和tcp方式的延迟差不多,这种是符合预期的么? 麻烦解答一下,谢谢
**Describe the bug (描述bug)** server给client端发送几十个G的数据,期间client挂。 StreamWait的due_time设置的是100ms(是错的,应该是时间点),但也不应该卡住吧。 client挂和StreamWait卡住先后顺序不确定。 栈信息如图,请大佬帮忙看看是什么原因。 ` while(1) { int ec = brpc::StreamWrite(xxxx); if (ec == EINVAL) { return; } if (ec == EAGAIN) { auto ret =...
If the server side executes a rpc request for more than idle_timeout_sec, and the connection does not transmit any other rpc during this period, will the connection be closed in...
### What problem does this PR solve? Issue Number: https://github.com/apache/brpc/issues/2677 Problem Summary: under `baidu_std`, server can not parse message when normal PRC and stream RPC arrive simultaneously ### What is...
下游如果分sharding,DynamicPartitionChannel+backup_request情况下,框架没有将同shard的response去重。想问下DynamicPartitionChannel+backup_request情况下,同shard返回后框架的后续行为是什么呢?还想问下会不会出现并行的情况,目前加上backup_request会导致程序出问题。。。
centos 8 stream system, glog version is 0.3.5, gflags version is 1:2.1.2-8.el8 , protobuf version 3.5.0 gcc 8.5.0, linux kernel 4.18.0 compiler step: 1. make build 2. cd build 3....
**Describe the bug (描述bug)** 当同一个brpc::Server中同时存在Stream和普通 RPC,普通RPC将无法解析,报错为: ``` E20240703 08:42:11.077316 1409359 input_messenger.cpp:123] Fail to parse response from 127.0.0.1:12306 by streaming_rpc at client-side W20240703 08:42:11.077428 1409359 input_messenger.cpp:249] Close Socket{id=2 fd=8 addr=127.0.0.1:12306:53862} (0x631000014d00):...
**Describe the bug (描述bug)** When server response a big value(more than 4096K), client will get error. I think this can be resolve by add some grpc options, but I don't...
是不是可以一定程度防止雪崩?