Pack many services per node with shared home Pods and shared runtime snapshots
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- azure, kubernetes, rust
- Ambito
- backend, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 2
- Merge medio
- 3g 57m
- PR unite (30g)
- 17
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hyperlight-dev/lampyr
-
a-needs-info dependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hyperlight-dev/lampyr#49 ·
I maintainer di solito rispondono entro 4 giorni
-
a-needs-info
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hyperlight-dev/lampyr#34 ·
I maintainer di solito rispondono entro 4 giorni
-
Provision production AKS ingress DNS and TLSForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
hyperlight-dev/lampyr#76 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
hyperlight-dev/lampyr#75 ·
I maintainer di solito rispondono entro 4 giorni
-
a-needs-info enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
hyperlight-dev/lampyr#55 ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di hyperlight-dev/lampyr
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
-
tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vfarcic/dot-agent-deck#2512 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
pop-os/cosmic-applets#1641 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pop-os/cosmic-store#650 ·