BFE
SandboxOrchestrationBFE is an open-source layer 7 load balancer written in Go, open-sourced by Baidu in 2019 as a derivative of their internal proprietary load balancer (also called BFE) that handles Baidu's production traffic.
BFE
What it is
BFE is an open-source layer 7 load balancer written in Go, open-sourced by Baidu in 2019 as a derivative of their internal proprietary load balancer (also called BFE) that handles Baidu's production traffic. It sits in the same conceptual space as Envoy or Nginx for L7 routing, but with a distinct architecture: pluggable forwarding modules, built-in support for multi-tenancy (multiple product lines sharing one LB instance with isolated config), and native protocol support for HTTP/1.1, HTTP/2, SPDY, WebSocket, FastCGI, and gRPC. It's designed to sit at the edge of a data center or cluster and route traffic based on rules more sophisticated than round-robin — things like GSLB (global server load balancing) integration, fine-grained traffic splitting, and condition-based routing expressed via BFE's own DSL.
Who builds it and why
Originated at Baidu to replace commercial and in-house LB solutions that couldn't scale to Baidu's traffic volume or support the multi-tenant, multi-datacenter routing logic Baidu needed. Open-sourced to CNCF as a sandbox project in 2019. 115 contributors on GitHub, but this is still heavily Baidu-driven — most core maintainers are Baidu engineers, and much of the module ecosystem reflects Baidu's internal use cases (GSLB, WAF integration hooks, specific traffic-shaping patterns). This is not a broad, vendor-neutral community project like Envoy; it's a company's internal infrastructure made public, with community contributions layered on top.
Production readiness signal
6,251 GitHub stars, 115 contributors, active commit history through mid-2026, current release v1.8.2 — this is a maintained project, not abandonware. Apache-2.0 license, Go codebase (easy to audit, easy to extend if you know Go). That said, CNCF sandbox status means it hasn't cleared the incubation bar — no CNCF-level guarantees on security review, adoption breadth, or governance maturity. Production usage outside Baidu is real but not well-documented publicly; you won't find the same volume of independent case studies, Stack Overflow threads, or third-party blog posts that Envoy or HAProxy have accumulated over a decade. Treat it as "battle-tested at one very large company, moderately tested elsewhere."
Who should use this
- Teams that need L7 load balancing with built-in multi-tenant config isolation and don't want to bolt that onto Envoy/Nginx themselves
- Organizations already running BFE-adjacent Baidu open-source tooling, or teams comfortable operating Go-based infra and reading Go source when docs run thin
- Teams needing GSLB-style global traffic routing without standing up a separate GSLB layer
- Anyone wanting Apache-2.0 licensing with no vendor lock-in and willing to self-support
Who should NOT use this
- Teams wanting the largest possible community, ecosystem, and third-party integration surface — Envoy wins here by a wide margin
- Shops needing CNCF-graduated maturity guarantees for compliance or procurement reasons — sandbox status will fail that bar
- Teams that need a service mesh sidecar model — BFE is a standalone LB, not designed for sidecar/mesh data plane use like Envoy
- Organizations without Go expertise in-house who'll need to debug or extend it — documentation and community support channels are thinner than mainstream alternatives
- Anyone needing extensive commercial support options — support is community/self-service, not vendor-backed at scale (no major cloud vendor ships managed BFE)
Alternatives
- Envoy — CNCF graduated, dominant ecosystem, service mesh native, far larger community and commercial support options.
- Nginx / Nginx Plus — battle-tested for over a decade, simpler mental model, commercial support available via F5.
- HAProxy — mature, extremely fast, huge production track record, strong community and commercial (HAProxy Technologies) backing.
Pricing
Fully open source under Apache-2.0. No paid tier, no enterprise edition, no commercial support contract from the maintaining organization. You self-host and self-support, or find a third-party consultancy familiar with the codebase.