登录 注册
网络与基础设施开发者工具
27,891
Stars
1,819
Forks
184
Watchers
329
Open Issues
Apache-2.0
许可证
Rust
语言
2023-05-05
创建时间
2026-11-09
最近更新

项目能做什么

用于构建高性能、可靠且易于演进的网络服务的底层开发库。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Pingora

![Pingora banner image](./docs/assets/pingora_banner.png)

## What is Pingora
Pingora is a Rust framework to [build fast, reliable and programmable networked systems](https://blog.cloudflare.com/pingora-open-source).

Pingora is battle tested as it has been serving more than 40 million Internet requests per second for [more than a few years](https://blog.cloudflare.com/how-we-built-pingora-the-proxy-that-connects-cloudflare-to-the-internet).

## Feature highlights
* Async Rust: fast and reliable
* HTTP 1/2 end to end proxy
* TLS over OpenSSL, BoringSSL, s2n-tls, or rustls(experimental).
* gRPC and websocket proxying
* Graceful reload
* Customizable load balancing and failover strategies
* Support for a variety of observability tools

## Reasons to use Pingora
* **Security** is your top priority: Pingora is a more memory safe alternative for services that are written in C/C++
* Your service is **performance-sensitive**: Pingora is fast and efficient
* Your service requires extensive **customization**: The APIs Pingora proxy framework provides are highly programmable

# Getting started

See our [quick starting guide](./docs/quick_start.md) to see how easy it is to build a load balancer.

Our [user guide](./docs/user_guide/index.md) covers more topics such as how to configure and run Pingora servers, as well as how to build custom HTTP servers and proxy logic on top of Pingora's framework.

API docs are also available for all the crates.

# Notable crates in this workspace
* Pingora: the "public facing" crate to build networked systems and proxies
* Pingora-core: this crate defines the protocols, functionalities and basic traits
* Pingora-foundations: Foundations telemetry integration for Pingora services
* Pingora-proxy: the logic and APIs to build HTTP proxies
* Pingora-error: the common error type used across Pingora crates
* Pingora-http: the HTTP header definitions and APIs
* Pingora-openssl & pingora-boringssl: SSL related extensions and APIs
* Pingora-ketama: the [Ketama](https://github.com/RJ/ketama) consistent algorithm
* Pingora-limits: efficient counting algorithms
* Pingora-load-balancing: load balancing algorithm extensions for pingora-proxy
* Pingora-memory-cache: Async in-memory caching with cache lock to prevent cache stampede
* Pingora-s2n: SSL extensions and APIs related to s2n-tls
* Pingora-timeout: A more efficient async timer system
* TinyUfo: The caching algorithm behind pingora-memory-cache

Note that Pingora proxy integration with caching should be considered experimental, and as such APIs related to caching are currently highly volatile.

# System requirements

## Systems
Linux is our tier 1 environment and main focus.

We will try our best for most code to compile for Unix environments. This is for developers and users to have an easier time developing with Pingora in Unix-like environments like macOS (though some features might be missing)

Windows support is preliminary by community's best effort only.

Both x8
阅读完整原文

项目深度分析 AI 生成

基于 Pingora 的企业级轻量化 API 网关 (开箱即用发行版)

产品构想Pingora 只是开发库(Library),缺乏开箱即用的二进制和声明式配置。将其打包为类似 Traefik/Envoy 的网关产品,支持 YAML/动态配置、管理 UI 和常用插件。
核心功能动态配置中心集成(Etcd/K8s CRD)、Web 管理控制台、JWT 认证/限流插件、一键 Docker/K8s 部署包、基础监控面板。
目标用户中小企业架构师、微服务团队、需要替代 NGINX 但缺乏 Rust 开发能力的运维团队。
难度/周期高 · 3-6 个月 · 成本:中等(主要是深度的 Rust 网络编程与全职研发人力成本)
收费模式核心控制面开源,企业高级插件(RBAC、高级限流、审计日志)采用双重许可/付费授权,提供商业部署技术支持。
竞争风险开源网关生态高度内卷(Envoy、Kong、Traefik),且维护网络代理的长期可靠性工作量极大。
依据 已验证事实

Pingora 商业级安全扩展模块(Rust 原生 WAF/风控引擎)

产品构想为 Pingora 提供高性能可插拔的 Web 应用防火墙(WAF)中间件,兼容 ModSecurity 规则或现代风控规则引擎,主打零内存泄漏与极高吞吐。
核心功能OWASP Core Rule Set 兼容引擎、极低延迟的正则表达式/特征匹配、IP 黑白名单与地理位置过滤、威胁日志与告警对接。
目标用户中大型互联网企业安全部门、云服务商、金融科技基础设施团队。
难度/周期极高 · 4-6 个月 · 成本:高(需要专业的安全攻防与底层性能优化背景)
收费模式闭源商业 SDK / 规则集订阅制收费 / 混合云安全防护私有化部署。
竞争风险WAF 规则维护成本极高,误报/漏报责任大,商业化销售周期漫长。
依据 数据支持的判断

Pingora 专家咨询与高并发架构定制迁移服务

产品构想针对使用 NGINX/OpenResty 遇到性能瓶颈或内存安全挑战的企业,提供从原有架构向 Pingora 迁移的技术咨询、定制插件开发与性能调优服务。
核心功能架构评估、定制化负载均衡/路由逻辑编写、TLS 性能调优、代码审计与 SLA 保障支持。
目标用户处理超高并发流量的内容分发商、游戏公司网关团队、大型 SaaS 厂商。
难度/周期中等 · 按需服务(1-2 周/项目) · 成本:低(主要为高阶 Rust 专家的工时投入)
收费模式咨询费、定制开发项目制收费、企业年度支持协议(Retainer)。
竞争风险难以规模化,收入依赖个案,目标客户池相对有限。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2023-05-05,近 30 天仍在推送,发布过 11 个 Release
社区活跃Star 27,891 / Fork 1,819 / Issue 329(数据支持,可自行核实)
许可证Apache-2.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。