Blacksmith vs Namespace: 速いCPU vs ビルドプラットフォーム
Blacksmithは速度に絞った一手で、Namespaceはより広いビルドプラットフォームです。適切な選択は、ビルドスタックのどれだけを一箇所にまとめたいかによります。
Blacksmithは、より速いシングルスレッドのビルドを真正面から狙う高クロックのCPU runnerで知られています。Namespaceは高速runnerに加え、より広いリモートのビルドおよび開発インフラで知られています。この比較は集中と広さについてであり、コストと自己修復がどこに入るかについてです。各ベンダーのサイトで現在の価格と機能を確認してください。
Blacksmith vs Namespace の概観
| Blacksmith | Namespace | |
|---|---|---|
| 知られている点 | 高クロックのCPU runner | 高速runner + ビルドインフラ |
| スコープ | runner速度に集中 | より広いビルドプラットフォーム |
| 最適な場面 | CPUバウンドのビルドがボトルネック | 統合されたビルドプラットフォームが欲しい |
| 不安定なジョブの自己修復 | なし | なし |
| 最適化の対象 | シングルスレッド性能 | vCPU 1分あたりのコスト |
| コンピュート基盤 | ベアメタルのゲーミング CPU、Firecracker microVM | クラウドコンピュート、ユニット課金 |
| 起動時間 | 3秒未満 (公表値) | 非公表 |
| 最良料金に必要なプラン契約 | なし | 前払いティア。超過分は50%高い |
| Cache | 同一ロケーション、sticky disk が利用可能 | ボリュームスナップショット $0.002/GB-hr |
こんなときBlacksmith
絞った、ドロップインの速度向上が欲しく、ボトルネックがシングルスレッドのCPU処理である場合です。Blacksmithは表面積を小さく保ちます。より速いrunner、最小限の変更です。
| Job | Namespace at ~$0.002/min | Blacksmith at $0.004/min |
|---|---|---|
| Runs 10 min on both | $0.020 | $0.040 |
| 10 min vs 5 min (CPU-bound) | $0.020 | $0.020, and finishes 5 min sooner |
| 10 min vs 4 min (heavily CPU-bound) | $0.020 | $0.016, and finishes 6 min sooner |
こんなときNamespace
runner以上のもの、例えばリモートキャッシュや標準化できるビルドインフラが欲しい場合です。Namespaceは、runnerのハードウェアを入れ替えるだけでなく、より広いビルドプラットフォームに投資するチームに向きます。
コストと信頼性が先行するなら
どちらも速度で競い、不安定なジョブを自動回復しません。優先事項が請求額の削減と、一時的な失敗から自力で回復するパイプラインなら、Latchkeyは低コストのマネージドrunner上で自己修復を加えます。スコープに合う方と並べて、実際のパイプラインでベンチマークしてください。
jobs:
build:
runs-on: ubuntu-latest # GitHub-hosted
# runs-on: latchkey-small # Latchkey
How to evaluate a managed runner honestly
Runner vendors compete on a headline per-minute rate, and the rate is rarely what decides the bill. Measure the whole job, on your own pipeline, before committing.
- Compare at equal machine shape. A cheaper per-minute rate on fewer vCPUs or less RAM is not cheaper per unit of work.
- Check billing granularity. Per-minute rounding costs real money on a wide matrix of short jobs; per-second does not.
- Include queue and boot time. A runner that is cheaper per minute but slower to start can cost more per merge.
- Count your re-runs. If a meaningful share of your runs are retries of a failed job, you are paying for the same work twice at whatever rate you negotiated, and no rate card prices that.
- Verify the free tier is recurring. A one-time credit is not a free tier.
The verdict
絞ったCPU速度: Blacksmith。より広いビルドプラットフォーム: Namespace。コストと不安定な再実行がより深い問題なら、Latchkeyの自己修復も評価してください。まずスコープで決め、それから現在の価格を確認してください。