srpc icon indicating copy to clipboard operation
srpc copied to clipboard

RPC framework based on C++ Workflow. Supports SRPC, Baidu bRPC, Tencent tRPC, thrift protocols.

Results 31 srpc issues
Sort by recently updated
recently updated
newest added

# 0.编译前的准备: 从CMake的官网下载CMake的二进制文件并安装,建议CMake版本 >= 3.6 我们假设您当前的路径为:E:/GitHubProjects 由于一些原因,我建议您使用vcpkg来安装依赖项 打开Powershell/cmd/bash,拉取vcpkg,并安装依赖项: ```powershell git clone https://github.com/microsoft/vcpkg.git cd vcpkg .\bootstrap-vcpkg.bat # 安装依赖项 # win32 .\vcpkg.exe install zlib:x86-windows protobuf:x86-windows openssl:x86-windows snappy:x86-windows lz4:x86-windows # amd64 .\vcpkg.exe install...

documentation

thriftserver 在具有多service情况下,调用失败,初步跟踪了下,把方法名称作为service 的name,导致find失败,始终返回一个。

## 1. Introduction **SRPC** supports generating and reporting tracing and spans, which can be reported in multiple ways, including exporting data locally or to [OpenTelemetry](https://opentelemetry.io). Since **SRPC** follows the [data...

documentation

我想使用srpc做数据IO服务器,只使用workflow时,有现成的例子,照着做就行(参考http_file_server),但在使用srpc时不知道如何将workflow中的代码和srpc无缝衔接起来,具体问题描述如下: 我在server的Echo中函数体中设置了一个IO读任务,并设置了回调,代码大致如下: ``` void Echo(WWIORequest *request, WWIOResponse *response, srpc::RPCContext *ctx) override { WFFileIOTask *pread_task; pread_task = WFTaskFactory::create_pread_task(fd, buf, size, 0, pread_callback); pread_task->user_data = response; } ``` 如果参照http_file_server的代码 ,则应该将以下4行类似代码整合到Echo函数中: ``` pread_task->user_data...

documentation

我在windows下安装了protobuf,并加入了环境变量。在用cmake对srpc进行编译的时候报错,报错内容如下: CMake Error at src/CMakeLists.txt:17 (find_package): Could not find a package configuration file provided by "Protobuf" with any of the following names: ProtobufConfig.cmake protobuf-config.cmake Add the installation prefix of "Protobuf"...

SRPC支持与gRPC对接吗

1、链路跟踪有吗, 有埋点方案与可视化工具吗 2、性能测试,用的什么工具,如WIKI介绍中的图,是怎么生成的?

documentation

经腾讯公司授权,我们SRPC项目开源了腾讯TRPC协议的实现。这也是TRPC的第一个开源实现,腾讯公司的同学可以试用一下。server侧依然只支持连接池模式的访问,不支持pipeline以及乱序返回。

enhancement