# MpRPC-Cpp **Repository Path**: suycx/MpRPC-Cpp ## Basic Information - **Project Name**: MpRPC-Cpp - **Description**: 基于tinymuduo网络库的分布式RPC框架 - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-08-14 - **Last Updated**: 2024-09-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于重写muduo网络库和protobuf的rpc框架 # [基于sylar协程框架的版本](https://github.com/SuycxZMZ/sylar-from-suycx) ## [整体设计和流程](docs/整体设计和流程.md) ## 编译 && 使用 [tinymuduo项目仓库](https://github.com/SuycxZMZ/tiny-muduo) ```shell git clone https://github.com/SuycxZMZ/tiny-muduo.git cd tiny-muduo mkdir build cd build cmake .. make sudo make install ``` [protobuf和zookeeper安装](tools-package/README.md) ```shell #本项目编译 git clone https://github.com/SuycxZMZ/MpRPC-Cpp.git cd MpRPC-Cpp mkdir build cd build cmake .. make -j4 ## 运行示例 cd ../bin # 运行服务提供方 ./provider -i ../rpc.cfg # 运行服务调用方 ./caller -i ../rpc.cfg ```