{"id":13672150,"url":"https://github.com/baidu/bfe-book","last_synced_at":"2026-02-21T22:01:40.242Z","repository":{"id":39339254,"uuid":"362668356","full_name":"baidu/bfe-book","owner":"baidu","description":"In-depth Understanding of BFE《深入理解BFE》（Book for BFE, a CNCF open source project. both in English and in Chinese）","archived":false,"fork":false,"pushed_at":"2024-01-21T05:59:08.000Z","size":9222,"stargazers_count":1293,"open_issues_count":2,"forks_count":189,"subscribers_count":21,"default_branch":"version1","last_synced_at":"2025-10-25T08:32:25.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baidu.png","metadata":{"files":{"readme":"README-CN.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-29T02:39:27.000Z","updated_at":"2025-09-09T06:05:13.000Z","dependencies_parsed_at":"2024-01-14T17:05:51.149Z","dependency_job_id":"12d0e835-7c76-4202-a2d7-517e22176d6d","html_url":"https://github.com/baidu/bfe-book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baidu/bfe-book","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbfe-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbfe-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbfe-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbfe-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baidu","download_url":"https://codeload.github.com/baidu/bfe-book/tar.gz/refs/heads/version1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbfe-book/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29694782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T09:01:27.831Z","updated_at":"2026-02-21T22:01:40.222Z","avatar_url":"https://github.com/baidu.png","language":null,"readme":"# 深入理解BFE\r\n[English](README.md) | 中文\r\n\r\n本书围绕BFE开源项目，向读者介绍网络接入的相关技术原理，说明BFE开源软件的设计思想，及如何基于BFE开源软件搭建网络接入平台。具有开发能力的读者也可根据本书的说明，按照自己的需要开发BFE的扩展模块，或者向BFE开源项目贡献代码。\r\n\r\n本书已经由电子工业出版社正式出版，书名为《[万亿级流量转发 - BFE核心技术与实现](https://segmentfault.com/a/1190000040400268)》。\r\n![book](./book.png)\r\n\r\n可通过扫描下方的二维码优惠购买。\r\n\r\n![code](./new_code.png)\r\n\r\n\r\n## BFE开源项目\r\n\r\nBFE是百度统一的七层负载均衡接入转发平台。BFE平台从2012年开始建设，截至2020年底，BFE平台每日转发的请求超过万亿，日峰值请求超过1000万QPS，在业界有巨大影响力。2019年7月，BFE的转发引擎对外开源，并于2020年6月被CNCF（云原生计算基金会）接受为“沙盒项目”（Sandbox Project），这是网络方向中国首个被CNCF接受的开源项目。\r\n\r\nBFE开源项目地址: https://github.com/bfenetworks/bfe\r\n\r\n## 本书作者\r\n\r\n| 姓名   | Github ID                                           |\r\n| ------ | --------------------------------------------------- |\r\n| 章淼   | [mileszhang2016](https://github.com/mileszhang2016) |\r\n| 杨思杰 | [iyangsj](https://github.com/iyangsj)               |\r\n| 戴明   | [daimg](https://github.com/daimg)                   |\r\n| 陶春华 | [ohscartao](https://github.com/ohscartao)           |\r\n\r\n## 版权许可\r\n\r\n本书采用[署名-非商业性使用-相同方式共享 4.0（CC BY-NC-SA 4.0）](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)许可，发行版权归属于电子工业出版社博文视点，未经授权请勿转载、印刷和发行。\r\n\r\n本书著作权归属于BFE开源社区，本书作者对其所编写的内容保留署名权，稿酬将用于BFE开源社区建设。\r\n\r\n\r\n\r\n# 全书目录\r\n\r\n## 背景篇\r\n\r\n+ [第一章 BFE简介](./background/what-is-bfe.md)\r\n\r\n## 原理篇\r\n+ [第二章 网络前端接入技术简介](./frontend_principle/introduction/introduction.md)\r\n+ [第三章 网络前端接入技术的发展趋势](./frontend_principle/trend/trend.md)\r\n+ [第四章 网络负载均衡技术简介](./frontend_principle/load_balance/load_balance.md)\r\n\r\n## 设计篇\r\n+ [第五章 BFE的设计思想](./design/ideas/ideas.md)\r\n+ [第六章 BFE和相关开源项目的对比](./design/comparison/comparison.md)\r\n+ [第七章 BFE的转发模型](./design/model/model.md)\r\n+ [第八章 BFE的路由转发机制](./design/route/route.md)\r\n+ [第九章 BFE的内网流量调度机制](./design/gslb/gslb.md)\r\n+ [第十章 BFE的模块插件机制](./design/module/module.md)\r\n+ [第十一章 健康检查机制](./design/health_check/health_check.md)\r\n+ [第十二章 限流机制](./design/limit/limit.md)\r\n+ [第十三章 监控机制](./design/monitor/monitor.md)\r\n+ [第十四章 日志机制](./design/log/log.md)\r\n+ [第十五章 超时设置](./design/timeout/timeout.md)\r\n+ [第十六章 配置管理](./design/configuration/configuration.md)\r\n+ [第十七章 HTTPS优化机制](design/https/https.md)\r\n+ [第十八章 信息的透传](./design/info_pass_through/pass_through.md)\r\n\r\n## 操作篇\r\n+ [第十九章 BFE服务的安装部署](./operation/installation/installation.md)\r\n+ [第二十章 BFE服务的基础配置](./operation/configuration/basic.md)\r\n+ [第二十一章 配置负载均衡算法及会话保持](./operation/configuration/proxy.md)\r\n+ [第二十二章 配置HTTPS服务](./operation/configuration/https.md)\r\n+ [第二十三章 配置rewrite](./operation/configuration/rewrite.md)\r\n+ [第二十四章 配置redirect](./operation/configuration/redirect.md)\r\n+ [第二十五章 配置限流](./operation/configuration/prison.md)\r\n+ [第二十六章 支持更多协议](./operation/configuration/protocol.md)\r\n\r\n## 实现篇\r\n+ [第二十七章 BFE的代码组织](implementation/source_layout/source_layout.md)\r\n+ [第二十八章 进程模型](implementation/process_model/process_model.md)\r\n+ [第二十九章 请求处理流程及响应](implementation/life_of_a_request/life_of_a_request.md)\r\n+ [第三十章 模块框架](implementation/model_framework/model_framework.md)\r\n+ [第三十一章 请求路由](implementation/routing/routing.md)\r\n+ [第三十二章 负载均衡](implementation/balancing/balancing.md)\r\n+ [第三十三章 核心协议实现](implementation/protocol/protocol.md)\r\n\r\n## 开发篇\r\n+ [第三十四章 如何开发BFE扩展模块](./develop/how_to_write_module/how_to_write_module.md)\r\n\r\n## 附录篇\r\n+ [附1 BFE的多进程GC机制](./appendix/multi_process_gc/multi_process_gc.md)\r\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaidu%2Fbfe-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaidu%2Fbfe-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaidu%2Fbfe-book/lists"}