Add method to adaptively calculate JVM heap size instead of using a constant
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- kubernetes, rust
- 領域
- devops, documentation, tooling
調査の方向性
まず、framework の現在の 0.8 JVM ヒープ計算と、リソースの概念に関するドキュメントを見つけます。OS メモリの安全な最小値を調査し、その後、Java 製品を管理するすべてのオペレーターを追跡して、定数の使用箇所を特定します。適応メソッドが一貫して使用され、operator-rs がリリースされ、リソースのドキュメントが更新されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 167
- フォーク
- 19
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 9
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stackabletech/operator-rs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
stackabletech/operator-rs#1273 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
stackabletech/operator-rs#1077 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
stackabletech/operator-rs#1063 ·
-
stackable-versioned: Require inner module definitions to have the same visibility as the parent オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
stackabletech/operator-rs#1028 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
stackabletech/operator-rs#965 ·
stackabletech/operator-rs の issue をすべて見る
似ている issue
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
n0-computer/iroh#4550 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
paritytech/zombienet-sdk#591 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
farion1231/cc-switch#7638 · コメント 1 件 ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100