프로젝트
GitHub에서 보기
apache/brpc
소개
brpc는 C++로 개발된 산업용 RPC 프레임워크로, 검색, 스토리지, 머신러닝, 광고, 추천 등 고성능 시스템에서 자주 사용됩니다. "brpc"는 "better RPC"를 의미합니다.
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- +8
- in 15 days
- +12
- in 1 month
- +17
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original

bRPC is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc.
"bRPC" means "better RPC".
You can use it to:
- Build a server that can talk in multiple protocols (on same port), or access all sorts of services:
- restful http/https, h2/gRPC. using http/h2 in bRPC is much more friendly than libcurl. Access protobuf-based protocols with HTTP/h2+json, probably from another language.
- redis and memcached, thread-safe, more friendly and performant than the official clients.
- rtmp/flv/hls, for building streaming services.
- hadoop_rpc (may be opensourced).
- rdma support.
- thrift support, thread-safe, more friendly and performant than the official clients.
- all sorts of protocols used in Baidu: baidu_std, streaming_rpc, hulu_pbrpc, sofa_pbrpc, nova_pbrpc, public_pbrpc, ubrpc and nshead-based ones.
- Build HA distributed services using an industrial-grade implementation of RAFT consensus algorithm which is opensourced at braft.
- Servers can handle requests synchronously or asynchronously.
- Clients can access servers synchronously, asynchronously, semi-synchronously, or use combo channels to simplify sharded or parallel accesses declaratively.
- Debug services via http, and run cpu, heap and contention profilers.
- Get better latency and throughput.
- Extend bRPC with the protocols used in your organization quickly, or customize components, including naming services (dns, zk, etcd), load balancers (rr, random, consistent hashing).
Try it!
- Read overview to know where bRPC can be used and its advantages.
- Read getting started for building steps and play with examples.
- Docs:
- Enable FlatBuffers RPC and verify the example
- Performance benchmark
- bvar
- bthread
- Client
- Server
- Builtin Services
- Tools
- Others
- IOBuf
- Streaming Log
- FlatMap
- Coroutine
- Circuit Breaker
- UBRing
- RDMA
- Bazel Support
- Wireshark baidu_std dissector plugin
- bRPC introduction(training material)
- A tutorial on building large-scale services(training material)
- bRPC internal(training material)
- RPC in depth
- Use cases
Contribute code
Please refer to here.
Feedback and Getting involved
- Report bugs, ask questions or give suggestions by Github Issues.
- Subscribe to the mailing list([email protected]) to get updated with the project.
Code of Conduct
We follow the code of conduct from Apache Software Foundation, please refer it here Link.
관련 프로젝트 살펴보기
불러오는 중…