GitHub Travis Go Report Card GoDoc Snap Status CII Best Practices FOSSA Status CLA assistant Slack Widget

BFE is a modern layer 7 load balancer from baidu.


  • Multiple protocols supported, including HTTP, HTTPS, SPDY, HTTP2, WebSocket, TLS, FastCGI, etc.
  • Content based routing, support user-defined routing rule in advanced domain-specific language.
  • Support multiple load balancing policies.
  • Flexible plugin framework to extend functionality. Based on the framework, developer can add new features rapidly.
  • Detailed built-in metrics available for service status monitor.

Getting Started

Running the tests



  • Please create an issue in issue list.
  • Contact Committers/Owners for further discussion if needed.
  • Following the golang coding standards.
  • See the CONTRIBUTING file for details.



  • BFE community on Slack: Sign up and join channels on topics that interest you.
  • BFE developer group on WeChat: Send a request mail with your WeChat ID and a contribution you’ve made to BFE(such as a PR/Issue). We will invite you right away.


BFE is under the Apache 2.0 license. See the LICENSE file for details.