- 安装过程
sudo apt-get install build-essential autoconf libtool libgflags-dev libgtest-dev clang libc+±dev pkg-config unzip
git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
cd grpc
git submodule update --init
make
sudo make install
cd third_party/protobuf
sudo ./autogen.sh
sudo ./configure
make
sudo make install
- rpc架构(图片来自protobuf rpc service架构)
- 运行过程以及自己的理解:只是运行了示例程序,能理解调用过程,对于底层运行机制暂时理解不深,待续。