跳至主要内容Skip to content
私有化部署 · 企业软件授权 · 主控与节点均运行在您的基础设施中 Self-hosted · licensed enterprise software · control plane and nodes run on your own infrastructure 系统架构Architecture FAQ
私有化部署 · 企业软件授权Self-hosted · licensed enterprise software

新一代自建 CDN 系统,
全新架构 自主可控
A next-generation self-hosted CDN,
redesigned for full control

FunCDN 是一套可私有化部署的自建 CDN 系统。通过统一主控管理边缘节点、回源中继和源站,将内容分发、安全防护、高可用容灾与日志分析整合在同一平台中。主控和节点均运行在您自己的服务器上,配置、日志与数据由您自主掌控。 FunCDN is a self-hosted CDN system you deploy privately. A single control plane manages edge nodes, origin relays and origins, bringing content delivery, security, high-availability failover and log analytics together on one platform. The control plane and nodes run on your own servers, and configuration, logs and data stay under your control.

数据保留在自有网络Data stays in your network 支持 HTTP/2 与 WebSocket 反向代理HTTP/2 & WebSocket reverse proxy ACME 证书自动签发与续期ACME auto-issued, auto-renewing certs
funcdn · 主控control plane 私有化self-hosted
基础功能
Core
域名管理Domains
源站池Origin pools
缓存策略Cache rules
安全策略Security policy
SSL 证书SSL certs
基础设施
Infra
边缘节点Edge nodes
回源中继Origin relays
高可用规则HA rules
请求链路Request route
用户User 边缘节点Edge 中继·可选Relay·opt 源站Origin
边缘处理At the edge
缓存Cache 安全防护Security TLS HTTP/2 WebSocket
配置通过 gRPC 实时下发至节点;与主控断连时,节点继续使用本地缓存配置提供服务 Config streams to nodes over gRPC; nodes keep serving from local cache if disconnected
证书自动续期Certs auto-renew
ACME · Let's Encrypt / ZeroSSL
一套完整系统包含What a complete system includes
主控Control planeREST 与 gRPC 编排REST + gRPC orchestration 边缘节点Edge nodes反向代理 · 缓存 · 安全策略reverse proxy · cache · security 回源中继Origin relay按需部署的回源链路optional origin route 日志分析Log analytics外置 ClickHouse(可选)external ClickHouse (opt.) cdn-agent签名升级与配置同步signed upgrades & sync 授权服务License server签名授权 · 三种授权版本signed license · 3 editions
01 · 产品能力Capabilities

自建 CDN 系统所需的核心能力,一个主控统一管理Every core capability a self-hosted CDN needs, managed from one control plane

站点接入、缓存与回源、安全防护、证书、日志分析、节点运维和开发者接口,均可在同一主控中统一配置和管理。以下为能力概览,详细内容请查看产品能力页。Site onboarding, caching and origin pull, security, certificates, log analytics, node operations and developer APIs — all configured and managed from one control plane. This is an overview; see the capabilities page for the details.

站点接入与缓存Delivery & caching

支持域名接入、源站池负载均衡、主动健康检查,以及内存与磁盘两级缓存;缓存内容可一键刷新并下发至节点。Domain onboarding, origin-pool load balancing and active health checks, plus a memory + disk two-tier cache with one-click purge pushed to nodes.

安全防护Security

支持 WAF、IP 黑白名单、访问限速、CC 防护和 JS Challenge;策略在边缘统一下发,并可按站点灵活组合。WAF, IP allow/deny lists, rate limiting, CC defense and JS Challenge — delivered uniformly at the edge and composed flexibly per site.

证书与 DNSCertificates & DNS

支持手动上传证书,或通过 ACME 自动签发和续期;同时支持 CNAME Target 及多家 DNS 服务商授权。Manual certificate upload, or ACME auto-issue & renewal; plus CNAME targets and credentials for multiple DNS providers.

日志分析Log analytics

提供访问、缓存、回源和高可用日志,以及探测与审计能力;日志分析可选接入外置 ClickHouse。Access, cache, origin-pull and HA logs, plus probing and audit; log analytics optionally connects to an external ClickHouse.

节点运维Node operations

支持 cdn-agent 签名升级、配置实时下发与节点本地缓存容错,并提供健康心跳、备份恢复和操作审计。Signed cdn-agent upgrades, live config push with node-side cache tolerance, plus heartbeats, backup / restore and operation audit.

开发者接口Developer interfaces

提供 REST API、API Token 和 OpenAPI 3.0 规范,并支持边缘规则、脚本模板和用户 Edge KV。REST API, API tokens and an OpenAPI 3.0 spec, with edge rules, script templates and user Edge KV.

查看全部产品能力 →See all capabilities → 完整清单包含节点运维、日志分析和开发者接口等能力including node operations, log analytics and developer interfaces
02 · 系统架构Architecture

请求面、主控与数据面相互独立Request, control and data planes — kept separate

主控负责统一编排和配置下发,边缘节点独立承载业务请求。即使节点与主控暂时断连,也可继续使用本地缓存配置提供服务;运行日志则单独汇入日志分析数据面。The control plane orchestrates and distributes config, while edge nodes serve requests on their own — and keep serving from locally cached config even when briefly disconnected. Operational logs flow into a separate log-analytics data plane.

主控:基于 REST 与 gRPC 进行编排和配置下发Control plane: orchestration and config push over REST + gRPC 请求面:节点断连时仍可基于本地缓存配置继续服务Request plane: nodes keep serving from local cached config when disconnected 数据面:日志可选汇入外置 ClickHouse,用于日志分析Data plane: logs optionally flow into external ClickHouse for log analytics
请求处理链路Request handling path 架构概览Overview
请求链路Request route
用户User 边缘节点Edge 中继·可选Relay·opt 源站Origin
主控 · 统一编排与配置下发Control · orchestrate 请求面 · 边缘节点承载业务流量Request · at the edge 数据面 · 日志与日志分析Data · analytics
配置通过 gRPC 实时下发至节点;与主控断连时,节点继续使用本地缓存配置提供服务 Config streams to nodes over gRPC; nodes keep serving from local cache if disconnected
03 · 应用场景Use cases

高度灵活的架构,轻松适配各种业务场景A highly flexible architecture that adapts to any business scenario

以下为 FunCDN 的典型应用场景,均由现有产品能力组合实现。完整场景及对应能力请查看应用场景页。A few representative FunCDN scenarios, each composed from existing product capabilities. See the use-cases page for the full set and the capabilities behind them.

SCN 01

自建 / 私有化 CDNSelf-hosted CDN

使用自有服务器和带宽承载内容分发。主控与节点均部署在自有网络中,配置和日志无需离开内网。Deliver content from your own servers and bandwidth; the control plane and nodes sit inside your own network, so config and logs never leave it.

私有化部署Self-hosted数据留在内网Data in-network
SCN 03

多源站容灾Multi-origin resilience

源站池通过负载均衡和主动健康检查识别故障,并自动切换至可用源站;还可部署回源中继,作为备用回源链路。Origin pools use load balancing and active health checks to detect failures and switch automatically to a healthy origin; an origin relay can also be deployed as a backup origin route.

源站池Origin pools故障切换Failover
SCN 05

页面级高可用Page-level high availability

可为关键站点配置高可用规则。主站不可用时,浏览器按顺序探测备用地址并跳转至首个可用站点;全部备用地址均不可达时,再展示离线页面。此功能适用于增强版和定制版。Attach HA rules to critical sites: when the primary is unavailable, the browser probes backup addresses in order and redirects to the first reachable one, showing an offline page only if none respond. Available in the Enhanced and Custom editions.

高可用High availability增强版及以上Enhanced & up
04 · 授权版本Editions

灵活授权,三种版本适配不同业务规模Flexible licensing: three editions for businesses of every scale

全功能版已开放全部 CDN 核心功能,按节点数和 Zone(根域名)配额档位计费;增强版在此基础上增加高级功能和专家服务;定制版进一步提供定制研发与专项交付。The Full edition already includes every CDN core capability, priced by node and Zone (root-domain) quota tiers; Enhanced adds advanced capabilities and expert services, and Custom further adds project-specific development and delivery.

全功能版Full 核心功能全部开放Core capabilities included
¥399/月 起/mo & up

10 个节点、100 个 Zone 起,共五档配额From 10 nodes / 100 Zones; five quota tiers

提供私有化运营 CDN 所需的完整核心能力。The complete core capabilities to run a private CDN.

站点接入、缓存与源站池Delivery, caching & origin pools 安全防护、证书与 DNSSecurity, certs & DNS 日志分析、节点运维与开发者接口Log analytics, node ops & developer API
节点数 / Zone 配额:以授权文件为准Node / Zone quota: set by license
定制版Custom 定制研发与交付Custom R&D
按需评估Scoped quote

按项目范围提供定制研发,按需求范围评估定价Custom development scoped to the project; priced to scope

面向更大规模或特殊部署需求,按项目范围提供定制研发。For larger scale or special deployment needs, with development scoped to the project.

包含增强版的高级功能与专家服务All of Enhanced's advanced capabilities & services 定制功能开发、专项交付与验收Custom feature development, project-specific delivery & acceptance 节点数、Zone 配额及能力组合按需定义Node / Zone quotas and capability mix defined as needed
节点数 / Zone 配额:按需定制Node / Zone quota: tailored

价格由授权节点数和授权站点数决定;授权站点按根域名 Zone 计算,同一 Zone 下的子域名不额外占用配额。增强版价格为所选全功能版基础月费加 ¥999/月;定制版按需求范围评估。完整五档价格与计算器请查看授权定价页,版本差异请查看 高级功能对比 Price is set by licensed node count and licensed-site count; licensed sites are counted per root-domain Zone, and subdomains under the same Zone use no extra quota. Enhanced is the chosen Full base monthly fee + ¥999/mo, and Custom is priced to scope. See the pricing page for all five tiers and a calculator, and the advanced comparison for how editions differ.

05 · 功能对比Feature comparison

核心功能全部开放,
高级能力与服务按需选择
Every core feature included, advanced capabilities and services on demand

全功能版已开放站点接入、缓存、安全防护、证书、日志分析、节点运维和开发者接口等核心能力;增强版增加高级功能和专家服务;定制版进一步提供定制研发与专项交付。The Full edition already includes every core capability — delivery, caching, security, certificates, log analytics, ops and developer APIs. Enhanced adds advanced capabilities and expert services, and Custom adds project-specific development and delivery.

FunCDN 三种授权版本对比(首页摘要,完整对比见功能对比页)FunCDN three-edition comparison (homepage highlights; see the full comparison page)
功能 / 服务Feature / service 全功能版Full核心功能全部开放Core capabilities included 增强版Enhanced高级能力与服务Advanced & services 定制版Custom定制研发与交付Custom R&D
CDN 核心功能(接入 · 缓存 · 安全 · 证书 · 日志分析 · 运维 · API)CDN core (delivery · cache · security · certs · log analytics · ops · API) 全部开放Included 全部开放Included 全部开放Included
节点 / Zone 配额(Zone = 根域名,子域名不额外占配额)Node / Zone quota (Zone = root domain; subdomains use no extra quota) 按所选档位Per chosen tier 按所选档位Per chosen tier 按方案Per plan
高级功能组合Advanced feature set 不含Not included 包含Included 包含Included
7×24 小时技术支持7×24 engineer support 不含Not included 包含Included 包含Included
页面级高可用Page-level high availability 不含Not included 包含Included 包含Included
部署评审与迁移协助Deployment review & migration assistance 不含Not included 包含Included 按方案Per plan
定制功能研发Custom feature development 不含Not included 不含Not included 按需评估Scoped
专项交付与验收Project-specific delivery & acceptance 标准交付Standard 增强交付Enhanced 定制里程碑Custom milestones

功能状态同时使用符号和文字标注(不只靠颜色):✓ 表示全部开放或包含— 表示不包含。三种版本均开放全部核心功能,配额按所选档位或定制方案授权;增强版和定制版增加高级功能与专家服务,页面级高可用只是其中一项,定制版进一步提供定制研发与专项交付。 Status uses a symbol plus text (never color alone): ✓ included / enabled, — not included. All three editions include the full core, with quota licensed by the chosen tier or custom plan; Enhanced and Custom add advanced capabilities and expert services — page-level HA is just one of them — and Custom further adds project-specific development and delivery.

06 · FAQ

常见问题Frequently asked

以下列出常见问题摘要。有关部署、授权、配额、高可用、日志分析和旧版本兼容的完整说明,请查看常见问题页。A summary of the questions we hear most. For the full explanations of deployment, licensing, quota, HA, log analytics and legacy compatibility, see the FAQ page.

FunCDN 采用什么部署方式?What deployment model does FunCDN use?
FunCDN 采用私有化、自建部署。一套系统包含主控(API 服务与管理面板)、边缘节点、可选的回源中继,以及常驻在各主机上的 cdn-agent。所有组件原生运行在您自己的 Linux 服务器上,由主控统一编排。FunCDN uses private, self-hosted deployment. A system includes the control plane (API service and web panel), edge nodes, an optional origin relay, and a resident cdn-agent on each host. All components run natively on your own Linux servers, orchestrated by the control plane.
哪些版本支持高可用?能力边界是什么?Which editions support HA, and what's its scope?
页面级高可用仅向增强版和定制版开放;全功能版可看到功能入口,但使用时需升级。该能力仅针对页面导航请求进行容灾切换,并非对站点全部子资源进行透明接管。查看高可用工作原理 →Page-level HA is available only in Enhanced and Custom; the Full edition shows the entry but requires an upgrade to use it. It performs failover for page-navigation requests only — it does not transparently take over all of a site's sub-resources. See how HA works →
域名配额如何计算?How is the domain quota calculated?
授权配额按节点数与 Zone 数量计算。一个 Zone 对应一个根域名,同一根域名下的子域名统一归入该 Zone,不额外占用配额;实际配额上限以授权文件为准。Licensed quota is counted by node count and number of Zones. One Zone maps to one root domain, and subdomains under that root domain all belong to the same Zone and use no extra quota; the actual limits come from your license file.

把 CDN 的控制权掌握在自己手中Keep full control of your CDN

按节点数和授权站点数(以根域名 Zone 计)透明计费,可根据实际部署规模选择合适的授权档位。Transparent pricing by node count and licensed-site count (counted per root-domain Zone) — choose the licensing tier that matches your deployment.