Add method to adaptively calculate JVM heap size instead of using a constant
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- kubernetes, rust
- Ambito
- devops, documentation, tooling
Direzione di ricerca
Inizia individuando l'attuale calcolo dell'heap JVM con 0.8 del framework e la documentazione sui concetti delle risorse. Ricerca un valore minimo sicuro per la memoria dell'OS, quindi traccia tutti gli operatori che gestiscono prodotti Java per identificare gli utilizzi della costante. Il lavoro è completato quando il metodo adattivo viene utilizzato in modo coerente, operator-rs viene rilasciato e la documentazione sulle risorse viene aggiornata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Recently we added the possibility to add resource requests and limits to our operators.
For the Java based products we currently use a factor of 0.8 to calculate the amount of heap for the JVM depending on the memory limit.
In most cases this will lead to unused memory when using alot of memory. E.g. a pod gets 100GB memory, this will be 80GB for the JVM and we end up with almost 20GB unused but reserved memory.
We need a method in the framework that adaptively calculates the required heap memory in order to waste less memory and leaving enough memory for the OS to run when specifying lower amounts.
Acceptance
- A method to calculate the JVM heap depending on the amount specified is implemented in the framework
- This includes research about a safe minimal value (e.g. 500mb for the OS that must always be respected)
- The operator-rs is properly released
- The resources concepts docs are updated
- All operators managing java products use this method instead of the constant 0.8 factor
- Lingua principale
- Rust
- Stelle
- 167
- Fork
- 19
- Merge medio
- 1g 6h
- PR unite (30g)
- 9
Guida per i contributori
Apri 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 stackabletech/operator-rs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
stackabletech/operator-rs#1273 · 1 commento ·
-
Improve label mechanisms Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
stackabletech/operator-rs#1077 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
stackabletech/operator-rs#1063 ·
-
stackable-versioned: Require inner module definitions to have the same visibility as the parent Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
stackabletech/operator-rs#1028 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
stackabletech/operator-rs#965 ·
Tutte le issue di stackabletech/operator-rs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
web-infra-dev/rspack#15847 ·