Pack many services per node with shared home Pods and shared runtime snapshots
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- azure, kubernetes, rust
調査の方向性
Read the shared home Pod discussion alongside fiberd-k8s and the Lampyr entry points named in the issue: protectedHome, grant.rs and homes.go. The issue lists several separate approaches, so first determine which one is being pursued and review related issues #9 and #17. Done means delivering the chosen density improvement while preserving per-service VM isolation and, for shared Pods, network isolation and Grant token handling.
索引モデルが issue の本文から書いたものです。
説明
Lampyr runs one home Pod per service (one per CapacityGrant), so per-node density is bounded by Pod limits rather than memory. Kind and AKS kubenet default to 110 Pods per node, and each home Pod's 1 Gi ephemeral-storage request makes AKS disk-bound at roughly 100 services. Measured directly on one 8 vCPU / 64 GiB VM with nested virtualization, an idle Hyperlight VM for a Node.js + SQLite service costs about 16 MiB, and ~1,900 idle services fit before a 70% memory cap, with flat wake and warm latency. That projects to ~2,800 per dedicated node.
Steps, roughly in order of payoff:
- Quick wins: lower the home Pod ephemeral-storage request to about 512 Mi (not zero: Kubernetes would then reserve the 10 Gi limit), use a larger or ephemeral OS disk, and use Azure CNI Overlay (maxPods 250).
- Shared home Pods: one home Pod hosts many services' fibers, each still in its own VM. Fiberd's Kubernetes home already handles several grants. This needs
spec.homein fiberd-k8s (upstream), plus Lampyr changes inprotectedHome,grant.rsandhomes.go. A shared Pod needs per-service network isolation (no loopback reach into other services' fibers) and handling for several services' Grant tokens in one Pod. - Shared runtime snapshots: snapshot a warmed language runtime once and deliver each service's code at start, instead of building a full snapshot per service. This keeps per-service memory near 16 MiB, cuts disk per service (~293 MB today), and makes publishing near-instant. It needs a safe, non-mount way to deliver code.
Related: #9, #17.
- 主要言語
- Rust
- スター
- 3
- フォーク
- 2
- 平均マージ
- 3日 57分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperlight-dev/lampyr のほかの issue
-
a-needs-info dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hyperlight-dev/lampyr#49 ·
メンテナーはふだん 4 日以内に返信
-
a-needs-info
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
hyperlight-dev/lampyr#34 ·
メンテナーはふだん 4 日以内に返信
-
Provision production AKS ingress DNS and TLS対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
hyperlight-dev/lampyr#76 ·
メンテナーはふだん 4 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
hyperlight-dev/lampyr#75 ·
メンテナーはふだん 4 日以内に返信
-
a-needs-info enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
hyperlight-dev/lampyr#55 ·
メンテナーはふだん 4 日以内に返信
hyperlight-dev/lampyr の issue をすべて見る
似ている issue
-
bug P2: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
-
tests
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vfarcic/dot-agent-deck#2512 ·
メンテナーはふだん 1 日以内に返信