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

### What problem does this PR solve? Issue Number: Problem Summary: We have met a problem in Apache Doris where a stream rpc client cannot receive any message (including `on_closed`)...

### What problem does this PR solve? Issue Number: resolve #2381 Problem Summary: ### What is changed and the side effects? Changed: 1. 将SocketId的功能抽象到VersionedRefWithId,满足类似SocketId的需求。只要实现OnCreate、OnFailed、OnRecycle接口即可。 2. EventDispatcher支持多种IO类型。在EventDispatcher和具体IO对象之间加入一层EventData对象(包含IO对象id、读事件回调函数、写事件回调函数)。在1的基础上,实现EventDataId,代替EventDispatcher中的SocketId。IO对象创建自己的EventData并持有EventDataId,将其注册到EventDispatcher。当有事件触发时,EventDispatcher通过EventDataId找到EventData,执行对应的回调函数。 Side effects: - Performance...

enhancement

The logo for bRPC which appears in the ASF logo collection is incomplete. https://apache.org/logos/?#brpc and https://apache.org/logos/res/brpc/brpc.png The letters RPC are not visible.

**Describe the bug (描述bug)** When I use brpc and pybind embed simultaneously and import numpy, the program gets stuck. However, it returns to normal once I remove the include for...

**Describe the bug (描述bug)** 我们使用了brpc作为系统中rpc组件,近期做性能优化,使用rpc_press测试brpc框架性能,目前我们测得的极限QPS是**210W**,不知道有没有官方的数据,作为参考。 **To Reproduce (复现方法)** 1.测试环境: * CPU: 80 * Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz * 网络延迟:0.018ms 2. 测试命令: ``` ./rpc_press -proto=./echo.proto -method=example.EchoService.Echo -server=xxx.xxx.xxx.xxx:8000 -input='{"message":"hello"}'...

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 文档其实没提到 Streaming RPC 是否可以用 RDMA,怎么实现 Async callback,以及性能如何。我这边也研究了一段时间,现在可以确认是没问题的,所以准备添加个几个相关的example。 **Describe the solution you'd like (描述你期望的解决方法)** 增加关于 async streaming rpc RDMA 的文档和案例。 **Describe alternatives...

我同时使用了rdma的rlib库和brpc rdma,在brpc服务开始之前通过rlib注册了一部分内存用于可以RDMA单边访问的操作。但是在rdma brpc服务启动时,却报如下问题。尽管他们使用了不同的端口。 E0311 14:09:18.770096 99811 /home/hcy/ford/thirdparty/brpc/src/brpc/rdma/rdma_helper.cpp:457] Fail to ibv_fork_init: Operation now in progress

``` [root@937d9313ad58 buildTest]# make Consolidate compiler generated dependencies of target PROTO_LIB [ 11%] Built target PROTO_LIB Consolidate compiler generated dependencies of target BUTIL_LIB [ 44%] Built target BUTIL_LIB Consolidate compiler...

看了有几个相关issue,感觉我的情况有一些不同。 server端为grpc c++ data size在16M左右,第一包数据可以发出和收到。 第二包数据开始,因为remote window left < data size,所以就不会发包,导致没有window update信息并不再更新remote window left,所以后续一直都是remote window left < data size,发不出包

usage

### What problem does this PR solve? Issue Number: resolve #2575 Problem Summary: 目前bRPC处理cookie和set-cookie这两个header的逻辑有问题: 1. [RFC 9114](https://datatracker.ietf.org/doc/html/rfc9114#section-4.2.1)规定: 多个cookie不能用`,`分隔,应该要用`; `; > If a decompressed field section contains multiple cookie field lines,...