Server: the allocation sources left after #3164 (NPC scope frames, status-effect snapshot, guild member views, cast rows)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Refactoring
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- go
- Bereich
- backend, performance
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Go
- Sterne
- 97
- Forks
- 61
- Ø Merge
- 4 Std. 14 Min.
- Gemergte PRs (30 T.)
- 913
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus opensro-dev/opensro
-
area: client enhancement priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
opensro-dev/opensro#3681 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: client bug priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
opensro-dev/opensro#3228 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Format one minified client file with dprint (ongoing: one file per PR)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenarea: client enhancement good first issue priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
opensro-dev/opensro#1 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: server bug priority: medium
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 55/100
opensro-dev/opensro#3687 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: ops bug priority: high
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 32/100
opensro-dev/opensro#3685 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in opensro-dev/opensro
Ähnliche Issues
-
area/networking kind/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
siderolabs/talos#14972 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
kubectl wait outputs cryptic "error: unrecognized condition: []" when --for is omittedEvtl. vergeben @muskan-creates352 hat das heute übernommen. Offenkind/bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
kubernetes/kubectl#1910 · 1 Kommentar ·
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
stacklok/toolhive-catalog#1967 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
unbound-force/gaze#353 ·
Maintainer antworten meist innerhalb von 1 Tag