brpc icon indicating copy to clipboard operation
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...

Results 414 brpc issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 这俩是比较常用的分包功能了 **Describe the solution you'd like (描述你期望的解决方法)** 默认协议中直接支持 配置即可 **Describe alternatives you've considered (描述你想到的折衷方案)** 无 **Additional context/screenshots (更多上下文/截图)** 无

看代码是不是现在线上不支持grpc 请求dump?? 这个有办法支持咩? ![image](https://github.com/user-attachments/assets/c4b4e545-2811-4202-a6e8-586a80653868)

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** Support brpc for PPC64 **Describe the solution you'd like (描述你期望的解决方法)** Add some arch code. **Describe alternatives you've considered (描述你想到的折衷方案)** The uploaded...

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 代码如下,业务需求是:rpc提前返回给上游,然后server读执行后续的耗时操作(落盘)。 ![image](https://github.com/user-attachments/assets/9c3bd1eb-ddd5-48a4-8401-9b344b64e385) **Describe the solution you'd like (描述你期望的解决方法)** 1、我能否将brpc的rq视作一个mpmc的队列,这样就不用在回调中入队,后台消费线程出队? 2、如果可以,能否在done->Run()之后,“用户的耗时操作”之前,利用令牌桶进行控速 **Describe alternatives you've considered (描述你想到的折衷方案)** **Additional context/screenshots (更多上下文/截图)**

**Describe the bug (描述bug)** when i build brpc-1.9.0 on openEuler-22.03SP3 aarch64 i got these errors `/usr/local/gcc-13.3.0/bin/g++ -c -I./src -I/hst/fsp_third_party/output/gflags/include/ -I/hst/fsp_third_party/output/leveldb/include/ -I/hst/fsp_third_party/output/openssl/include/ -I/hst/fsp_third_party/output/protobuf/include/ -I/hst/fsp_third_party/output/zlib/include/ -DGFLAGS_NS=google -fPIC src/bthread/butex.cpp -o src/bthread/butex.o In file...

**Describe the bug (描述bug)** brpc 代码中定义的一些bvar监控项一直不更新。 比如process_cpu_usage,process_memory_data_and_stack等。 但是有一些自定义的bvar是变动的。 但是进程重启后可能又恢复, 可能再次重启又不动了。 **To Reproduce (复现方法)** **Expected behavior (期望行为)** **Versions (各种版本)** OS: 5.4.0-139-generic #156-Ubuntu SMP Fri Ja Compiler: brpc: 1.7.0 protobuf: **Additional context/screenshots...

请问bRPC支持mTLS嘛?应用层使用grpc:h2协议。

feature

**Describe the bug (描述bug)** 使用jni加载brpc.so时报pthread_mutex_lock未定义, 使用export LD_PRELOAD=/usr/lib64/libbrpc.so 解决了加载的问题,但java线程在退出时core掉了。 **To Reproduce (复现方法)** 使用jni加载brpc.so 并在java中使用线程,观察 线程退出时会不会产生core **Expected behavior (期望行为)** java线程正常退出 **Versions (各种版本)** OS: Compiler: brpc: protobuf: **Additional context/screenshots (更多上下文/截图)** #0 __GI_raise (sig=sig@entry=6)...

我用mbvar来模拟prometheus的histogram指标,通过添加一个le的label来统计所有小于等于这个值的counter,其中+inf应该等于所有的请求数。但跑了一段时间后发现counter数并没有按照le的大小排序。如图 ![image](https://github.com/apache/brpc/assets/2713364/875799b8-c0c5-4f3e-b6fe-f42731293271)

**Describe the bug (描述bug)** 在我的应用场景中,集成了brpc的多种操作,通过request_attachment或response_attachment收发,包含append、append_with_user_data、swap等多个动作,现尝试启用rdma,但还没有端到端跑通(brpc内置的rdma example已经跑通) **To Reproduce (复现方法)** 同时在日志中,存在: W0706 14:41:19.870314 12521 rdma_endpoint.cpp:567] Fail to read Hello Message from client:Socket{id=102 fd=1057 addr=33.99.77.245:38992:19733} (0x0x7f0c83d23cc0) 33.99.77.245:38992 **疑问** 1. global initialize确认生效,尝试了在所有append_user_data的地方都register memeory,没有明显效果;...