Skip to content

mileszhang2016/bfe

This branch is 61 commits behind bfenetworks/bfe:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e74c982 · Feb 3, 2023
Jul 17, 2022
Jul 29, 2022
Aug 22, 2022
Sep 3, 2020
May 28, 2022
Jul 14, 2020
Jun 6, 2022
Sep 13, 2022
Sep 13, 2022
Feb 28, 2022
Sep 13, 2022
Jun 6, 2022
Jan 31, 2022
Feb 28, 2022
May 28, 2022
Feb 28, 2022
Jan 31, 2022
May 28, 2022
May 28, 2022
Jul 12, 2021
Jan 12, 2022
Jan 10, 2023
Oct 26, 2021
Feb 28, 2022
Nov 2, 2021
Nov 1, 2021
Jan 29, 2022
Apr 28, 2022
Jan 24, 2022
Jul 14, 2021
Oct 21, 2022
Jul 21, 2020
Jan 29, 2022
Jan 29, 2022
Dec 17, 2021
Jan 29, 2022
Jul 31, 2019
Jan 29, 2022
Jul 24, 2022
Jul 14, 2020
Jan 30, 2022
Feb 3, 2023
Jan 29, 2022
Oct 21, 2022
May 13, 2021
Jun 6, 2022
Jun 6, 2022
Jan 24, 2022
Sep 13, 2022
May 28, 2022

BFE

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

English | 中文

BFE (Beyond Front End) is a modern layer 7 load balancer from baidu.

bfe logo

BFE is a Cloud Native Computing Foundation (CNCF) sandbox project.

cncf-logo

Introduction

BFE opensource project includes several components, which can be used together as a integrated layer 7 load balancer and traffic management solution.

BFE system consists of data plane and control plane:

  • Data plane:responsible for forwarding user's traffic, including below component:
    • BFE Server:BFE forward engine (this repository, bfenetworks/bfe). BFE Server performs content based routing, load balancing and forwards the traffic to backend servers.
  • Control plane:responsible for management and configuration of BFE system, including below components:
    • API-Server:provides API and handles update, storage and generation of BFE config
    • Conf-Agent:component for loading config, fetches latest config from API-Server and triggers BFE Server to reload it
    • Dashboard:provides a graphic interface for user to manage and view major config of BFE

Refer to Overview in BFE document for more information

Besides, we also implement BFE Ingress Controller based on BFE, to fulfill Ingress in Kubernetes

Advantages

  • 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.
  • Efficient, easy and centralized management, with RESTful API and Dashboard support.
  • Detailed built-in metrics available for service status monitor.

Getting Started

Running the tests

Documentation

Book

  • In-depth Understanding of BFE (Released in Feb 2023)

    This book focuses on BFE open source project, introduces the relevant technical principles of network access, explains the design idea of BFE open source software, and how to build a network front-end platform based on BFE open source software. Readers with development capabilities can also develop BFE extension modules according to their own needs or contribute code to BFE open source projects according to the instructions in this book.

Contributing

  • 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.

Authors

Communication

  • BFE community on Slack: Sign up CNCF Slack and join bfe channel.
  • 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.

License

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

About

A modern layer 7 load balancer from baidu

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.8%
  • Other 0.2%