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...
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?) brpc 中的很多超时和唤醒逻辑都使用了墙上时钟,在系统时钟跳变时会产生很多问题。 比如以下代码: 请求超时时间:https://github.com/apache/brpc/blob/master/src/brpc/channel.cpp#L552 条件变量等待时间:https://github.com/apache/brpc/blob/master/src/bthread/condition_variable.h#L75 sleep时间:https://github.com/apache/brpc/blob/master/src/bthread/task_group.cpp#L775 Describe the solution you'd like (描述你期望的解决方法) 切换成 monotonic clock ? Describe alternatives you've considered (描述你想到的折衷方案)...
**Describe the bug (描述bug)** asan 压测,报h2协议brpc::policy::H2UnsentResponse::New内存泄漏 **To Reproduce (复现方法)** brpc1.8.0,h2:grpc协议。编译选项加上-fsanitize=address -fno-common,编译静态链接asan。 **Expected behavior (期望行为)** 期望不报任何异常错误。 **Versions (各种版本)** OS: Linux bae12e6ce16f 5.4.139-1.el7.elrepo.x86_64 #1 SMP Sat Aug 7 08:29:46 EDT 2021 x86_64...
**Describe the bug (描述bug)** centos7 gcc4.8.5编译失败 **To Reproduce (复现方法)** centos7 gcc4.8.5编译 **Expected behavior (期望行为)** 编译成功 **Versions (各种版本)** OS:centos7.9 Compiler:gcc 4.8.5 brpc:1.10.0 protobuf:3.17 **Additional context/screenshots (更多上下文/截图)** 
**Describe the bug (描述bug)** 升级1.10之后,内存会不断增长,在vars界面查看,发现bthread_keytable_count在不断增长,我理解keytable是thread local的,thread销毁后也会跟着销毁,不应该无限增长 **To Reproduce (复现方法)** 使用1.10之后就会出现,但是用1.8就不存在泄漏 **Expected behavior (期望行为)** keytable对象数量维持动态平衡 **Versions (各种版本)** OS: Ubuntu 20.04.3 LTS Compiler: clang8 brpc: 1.10 protobuf: 3.15.8 **Additional context/screenshots (更多上下文/截图)** 
**Describe the bug (描述bug)** brpc客户端在连接空闲了一段时间后,大约1.5h,再次请求发现会会报这样的错误 `[E1008]Reached timeout=10000ms`,大约再过了15分钟后,问题不再出现。 **To Reproduce (复现方法)** brpc客户端在连接空闲了一段时间后,大约1.5h,再次请求发现会会报这样的错误 `[E1008]Reached timeout=10000ms` **Expected behavior (期望行为)** 正常请求,不报E1008错误 **Versions (各种版本)** OS: centos7.9 Compiler: gcc 9.3.1 brpc: - protobuf: - **Additional context/screenshots...
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** Apache Doris currently supports `stream load` feature with `http`, which transmits large size (1-10G) of data progressively from user's client to...
I encountered the problem that brpc would report eagain error. After trying to change the MAX_ENTRIES of TidTraits from 65536 to 655360, the problem no longer occurred. I noticed that...
#535 麻烦看下这个实现是否可以被接受,当前先只改了baidu rpc protocol。
**Describe the bug (描述bug)** 我使用了 window 来监控测试流量,发现当测试流量为 2w 时,brpc window 的打点数值是正常的(通过 prometheus 观察),但是当测试流量上升到 5w 左右时,brpc window 的打点数值会出现异常,显示为 20w(通过 prometheus 观察)。怀疑和内部的数值类型设置有关,例如使用了 int16_t 的类型。但是在内部没有找到。想问下这个 case 可能的原因。 **To Reproduce (复现方法)** **Expected behavior (期望行为)**...
**Describe the bug (描述bug)** I am trying to run braft atomic application with brpc code while setting protocol as HTTP2 in channel options. Raft leader node encounters following error in...