Skip to content
/ brpc Public
forked from apache/brpc

Most common RPC framework used throughout Baidu, with 600,000+ instances and 500+ kinds of services, called "baidu-rpc" inside Baidu.

License

Notifications You must be signed in to change notification settings

Jarlonyan/brpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The opensource version of baidu-rpc
# BUILD
### Ubuntu/LinuxMint/WSL
**install deps**  
Common: sudo apt-get install git g++ make  
gflags: sudo apt-get install libgflags-dev  
protobuf: sudo apt-get install libprotobuf-dev libprotoc-dev protobuf-compiler  
leveldb(used by rpcz): sudo apt-get install libleveldb-dev libsnappy-dev  
openssl(for https): libssl-dev  
**compile**  
git clone this repo. cd into the repo and run: sh config_brpc.sh --incs=/usr/include --libs=/usr/lib  
**run echo example**  
cd into example/echo_c++, make, run echo_server and echo_client  
**run examples with cpu/heap profilers**  
sudo apt-get install libgoogle-perftools-dev libunwind-dev liblzma-dev  
Rerun config_brpc.sh  

### Baidu-internal
**setup directories**  
download deps: third-64/gflags@gflags_2-0-0-100_PD_BL  third-64/protobuf@protobuf_2-4-1-1100_PD_BL third-64/leveldb@leveldb_1-0-0-0_PD_BL  
**compile**  
git clone this repo. cd into the repo and run: sh config_brpc.sh --incs=../../../third-64 --libs=../../../third-64  
**run examples with cpu/heap profilers**  
download deps: third-64/tcmalloc@tcmalloc_1-7-0-200_PD_BL  
Rerun config_brpc.sh  

About

Most common RPC framework used throughout Baidu, with 600,000+ instances and 500+ kinds of services, called "baidu-rpc" inside Baidu.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • Other 1.2%