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/v10。無需 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/v10。支援的 topology 是帶 SQLite metadata + local-filesystem deep storage 的單節點;Helm chart 會在 template time 對 external metadata、external deep storage、`replicaCount>1`,以及向 OSS image 注入 paid product code 執行 fail closed。首次登入時強制輪換 admin account(輪換前每個 endpoint 都傳回 403),付費容器在啟動時透過 `RegisterUsage` 驗證 entitlement。
產品亮點
Druid-spec wire-compatible(REST + native JSON + Druid SQL,segment v9/v10)— 現有 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`,以及 OSS-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。