/brpc

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

Primary LanguageC++Apache License 2.0Apache-2.0

中文版

Build Status

brpc

An industrial-grade RPC framework used throughout Baidu, with 1,000,000+ instances(not counting clients) and thousands kinds of services, called "baidu-rpc" inside Baidu. Only C++ implementation is opensourced right now.

You can use it to:

Try it!

Contribute code

If you can fix any of the issues or add new features, you're welcome to send the PR to us. If the PR is accepted, your contribution will be scored from 0 to 5 points according to the difficulty and quality (higher is better). If you accumulate 10 points, you can contact us for interviewing opportunities or recommendation letter for your future jobs.

Make sure your code meets following requirements before submitting the PR:

  • The code conforms to google C++ coding style and is indented by 4 spaces.
  • The code appears where it should be. For example the code to support an extra protocol should not be put in general classes like server.cpp, channel.cpp, while a general modification would better not be hidden inside a very specific protocol.
  • Has unittests.

Check following items after submitting the PR:

  • Compilations and unittests in travis-ci are passed.

Feedback

Please report bugs, concerns, suggestions by issues, or join QQ-group 498837325 to discuss problems around source code.