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? (你需要的功能是否与某个问题有关?)** 是否有办法使得server端处理client请求的时候,始终使用的是同一个线程,也就是调用bthread_self()返回的值保持不变 我这边现在有需求依赖上下文(是另外一个lib提供的),如果不同请求的线程切换了,上下文信息就丢失了,后续请求都会失败 上下文对我这边调用是黑盒的,无法直接干预,只能通过保障我这边线程不切换 或者是否能指定一个单线程的线程池来提供服务?
在B站视频看到 @wwbmmm 大佬的视频介绍到了一种 Global balance调度算法,我们现在可以怎么样开启呢?
**Describe the bug** client 侧为了节省带宽,使用了 snappy 压缩,但是测试下来,发现服务端用 snappy 解压的数据和 client 侧输入的数据不一致。 **To Reproduce** 把测试用的请求 dump 到磁盘,然后用 SampleIterator 遍历,并分别用 brpc 中的 snappy 和 github 上的 snappy 解压。其中 brpc 里面的 snappy 每次解压的结果都不一致,而...
Add Mysql Protocol, support text protocol, transaction, support prepare statement. issue #209 ### What problem does this PR solve? Issue Number: Problem Summary: ### What is changed and the side...