FerroDruid Container
适用于 Amazon EKS 的 Rust-native Druid 兼容 OLAP 容器
何时收回成本?
示例:托管可观测性支出每月 $5,000
如果托管可观测性支出为每月 $5,000,按保守 40% 降低约为 $2,000/月的可避免总使用费 — 不含 S4 软件费、EC2 和工作负载差异。
FerroDruid 的容器版本。通过随附的 Helm chart,将 Apache-Druid-spec-compatible 实时 OLAP 数据库作为单个 Rust binary 部署到 Amazon EKS。支持 Druid REST API、native query JSON 和 Druid SQL;读取 Druid segment v9。无需 JVM、无需 ZooKeeper、无需六进程 control plane。按 pod-hour 计量,首次登录时强制轮换 admin password,且没有 Marketplace entitlement 时 fail closed。
经典 Apache Druid cluster 在提供单个查询前,需要六个或更多 JVM processes、ZooKeeper、外部 metadata database,以及 16 GB+ RAM;FerroDruid Container 用作为一个 EKS pod 运行的单个 Rust binary 替代这一切。它与 AMI build 使用同一 binary,支持全部八种 native query types(timeseries、topN、groupBy、scan、search、segmentMetadata、dataSourceMetadata、timeBoundary);运行 Druid SQL(SELECT、WHERE、GROUP BY、HAVING、ORDER BY、LIMIT、30+ functions、EXPLAIN PLAN FOR、MSQ task endpoint、约 95% core SQL parity);暴露 40+ 个 Druid-compatible REST endpoints;并读取 Druid segment v9(已在本地针对 Druid 31.0.2 / 35.0.1 写入的 segment 验证,并已从真实 AWS S3 deep storage 端到端验证:Druid-31 segment,round-trip)。支持的 topology 是带 SQLite metadata + local-filesystem deep storage 的单节点;Helm chart 会在 template time 对 external metadata、external deep storage、`replicaCount>1`,以及向 source-available image 注入 paid product code 执行 fail closed。首次登录时强制轮换 admin account(轮换前每个 endpoint 都返回 403),付费容器在启动时通过 `RegisterUsage` 验证 entitlement。
产品亮点
Druid-spec wire-compatible(REST + native JSON + Druid SQL,segment v9)— 现有 Druid clients 和 queries 可直接工作。与 AMI 使用同一 binary。
一个容器,无 JVM / ZooKeeper / 六进程 control plane;在低于 200 MB RAM 下亚秒级启动。通过随附的 Helm chart 部署到 Amazon EKS。
按 pod-hour 计量、强制首次登录密码轮换,以及 fail-closed 配置:admin password 轮换前每个 endpoint 都返回 403,Helm chart 会在 template time 拒绝 external metadata、external deep storage、`replicaCount>1`,以及 source-available-image-plus-paid-code 混用。
为什么更便宜
假设在已有 EKS 集群上运行 ~1k events/秒的实时 OLAP 后端。
- 节点 vCPU / RAM (≈ m5.xlarge × 3)
- $525 / 月
- ZK Pod (≈ t3.medium)
- $30 / 月
- RDS PostgreSQL 元数据
- $150 / 月
- 月度合计
- $705 / 月
- FerroDruid Pod (≈ m5.large + 软件费)
- $120 / 月
- 月度合计
- $120 / 月
按摄取 QPS 选择 FerroDruid Container
| 摄取 QPS | Pod resource request | FerroDruid Pod 费用 | 月度合计对比 Druid on EKS |
|---|---|---|---|
| ~100 events/s | 1 vCPU / 2 GB | $45 / 月 | $45 / 月 (Druid $400, −89%) |
| ~1k events/s | 2 vCPU / 4 GB | $120 / 月 | $120 / 月 (Druid $705, −83%) |
| ~10k events/s | 8 vCPU / 16 GB | $400 / 月 | $400 / 月 (Druid $1,800, −78%) |
仅供参考。在 EKS 上以最小配置部署 Apache Druid 需要 broker / coordinator / historical / middleManager / overlord / router 共 6 类 Pod, 加上 ZooKeeper Pod 和 RDS PostgreSQL 元数据 DB。FerroDruid Container 以 Rust 单进程 Pod 提供相同的 wire 兼容 API, 差异直接体现在节点费用上。两种配置的 EKS 控制平面费用相同, 已省略。
计费模式
由 AWS 计费的按 pod 小时软件费用 + 你自己的 EKS cluster 中的 EC2 nodes 费用。无需 license keys;通过 Marketplace `RegisterUsage` 验证 entitlement。