From cea97bd62c607f975a1c19ef36fc209d916daec4 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Wed, 21 Sep 2016 03:36:18 -0400 Subject: [PATCH] Update README.md --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 3b5699c..91f1b74 100644 --- a/README.md +++ b/README.md @@ -2,41 +2,41 @@ sofa-pbrpc ========== [![Build Status](https://travis-ci.org/baidu/sofa-pbrpc.svg)](https://travis-ci.org/baidu/sofa-pbrpc) -A light-weight RPC implement of google protobuf RPC framework. +A light-weight RPC implementation of Google's protobuf RPC framework. Wiki: https://github.com/baidu/sofa-pbrpc/wiki ### Features * High performace. -* Easy to use. Refer to sample codes in './sample'. -* Support sync call and async call. Refer to './sample/echo'. -* Support three level (service/method/request) timeout. Refer to './sample/timeout_sample'. -* Support transparent compression. Refer to './sample/compress_sample'. -* Support mock test. Refer to './sample/mock_sample'. -* Support network flow control. -* Support auto connecting and reconnecting. -* Support keep alive time of idle connections. -* Support statistics for profiling. -* Support multi-server load balance and fault tolerance. -* Support http protocol. -* Provide web monitor. -* Provide python client library. - -### Dependings +* Easy to use. Refer to sample code in './sample'. +* Supports sync call and async call. Refer to './sample/echo'. +* Supports three level (service/method/request) timeout. Refer to './sample/timeout_sample'. +* Supports transparent compression. Refer to './sample/compress_sample'. +* Supports mock test. Refer to './sample/mock_sample'. +* Supports network flow control. +* Supports auto connecting and reconnecting. +* Supports keep alive time of idle connections. +* Supports statistics for profiling. +* Supports multi-server load balance and fault tolerance. +* Supports http protocol. +* Provides web monitor. +* Provides python client library. + +### Dependencies This lib depends on boost-1.53.0 (only need header), protobuf-2.4.1, snappy and zlib: * boost - http://www.boost.org/ * protobuf - http://code.google.com/p/protobuf/ * snappy - http://code.google.com/p/snappy/ * zlib - http://zlib.net/ -ATTENTION: boost header is only needed when compiling the lib, but no need for user code. +ATTENTION: boost header is only needed when compiling the lib, but is not needed for user code. Extrally, './unit-test' and './sample/mock_sample' also depends on gtest: * gtest - http://code.google.com/p/googletest/ ### Build 1. Modify the file './depends.mk' to specify depending libs.
- The necessary libs is boost, protobuf, snappy, and zlib. + The necessary libs are boost, protobuf, snappy, and zlib. 2. Run 'make' to build sofa-pbrpc.
The default optimization level is 'O2'.
To change it, modify the 'OPT' variable in file './Makefile'. @@ -47,7 +47,7 @@ Extrally, './unit-test' and './sample/mock_sample' also depends on gtest: For more details, please refer to the wiki. ### Sample -For sample codes, please refer to './sample' and the wiki. +For sample code, please refer to './sample' and the wiki. ### Performance For performace details, please refer to the wiki.