Server: the allocation sources left after #3164 (NPC scope frames, status-effect snapshot, guild member views, cast rows)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- backend, performance
調査の方向性
Start with the open parts: statuseffect.(*Registry).Snapshot, store.storeGuildDoor.guildMemberViewsLocked, and the cast rows in domain/social.go. For each, check which callers hold the returned copy and whether it can be shared. Run the 200-NPC/1200-published benchmark before and after each change. Done means each part reports B/op and allocs/op deltas. The open questions are design calls, so confirm the approach with maintainers first.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #3164: the server allocation sources it left open.
#3164's large rows are merged:
- Character copies: #3169, #3223, #3106, and the staged bag rows in #3285.
- Ground drops: #3194's per-division delta journal.
- The commit path: the digest skip, #3229 and #3106.
The audit in #3285 names what stays.
Parts
-
simulation.NpcScopeFrames(2.8 % of allocated bytes on the live profile): reuse or recompute per tick? Called fromTicker.runSessionLegs. Reuse - #3327: oneNpcScopeBufferper division tick state, carried across the sequential session legs; steady state 19,450 -> 447 B/op, 6 -> 0 allocs/op (200-NPC/1200-published bench fixture). -
statuseffect.(*Registry).Snapshot(2.2 %): which readers need a fresh copy? -
store.storeGuildDoor.guildMemberViewsLocked(1.9 %): guild door paths. - The cast copy's rows (
domain/social.gosnapshots): taken fresh per snapshot, with no previous copy to share against. - Re-profile the live server after the next release, using #3164's method: loopback heap profile, allocated bytes per source.
Done when
- Each part reports its own before and after (benchmark B/op and allocs/op).
- The post-release live profile shows the allocation rate under #3164's 110 MB/s, with the new top sources listed.
- 主要言語
- Go
- スター
- 97
- フォーク
- 61
- 平均マージ
- 4時間 14分
- マージ済み PR(30日)
- 913
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
opensro-dev/opensro のほかの issue
-
area: client enhancement priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
opensro-dev/opensro#3681 ·
メンテナーはふだん 1 日以内に返信
-
area: client bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opensro-dev/opensro#3228 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Format one minified client file with dprint (ongoing: one file per PR)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea: client enhancement good first issue priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
opensro-dev/opensro#1 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: server bug priority: medium
難易度 3/5 半日 初心者へのやさしさ 55/100
opensro-dev/opensro#3687 ·
メンテナーはふだん 1 日以内に返信
-
area: ops bug priority: high
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
opensro-dev/opensro#3685 ·
メンテナーはふだん 1 日以内に返信
opensro-dev/opensro の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
unbound-force/gaze#353 ·
メンテナーはふだん 1 日以内に返信
-
bug cross-seed ready-for-human
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
OneBusAway/maglev#2102 ·
メンテナーはふだん 2 日以内に返信
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Waiting start: the fixed 503 body says another instance holds the lease when that may not be soオープン
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
Judgment-Pack/judgment-pack-gateway#474 ·
メンテナーはふだん 1 日以内に返信