Server: the allocation sources left after #3164 (NPC scope frames, status-effect snapshot, guild member views, cast rows)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Refatoração
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Ativa
- Stack de tecnologia
- go
- Domínio
- backend, performance
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Go
- Estrelas
- 97
- Forks
- 61
- Merge médio
- 4h 14min
- PRs com merge (30d)
- 913
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de opensro-dev/opensro
-
area: client enhancement priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
opensro-dev/opensro#3681 ·
Mantenedores costumam responder em até 1 dia
-
area: client bug priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
opensro-dev/opensro#3228 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Format one minified client file with dprint (ongoing: one file per PR)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaarea: client enhancement good first issue priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
opensro-dev/opensro#1 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area: server bug priority: medium
Dificuldade 3/5 Meio dia Facilidade para iniciantes 55/100
opensro-dev/opensro#3687 ·
Mantenedores costumam responder em até 1 dia
-
area: ops bug priority: high
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 32/100
opensro-dev/opensro#3685 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de opensro-dev/opensro
Issues semelhantes
-
area/networking kind/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
siderolabs/talos#14972 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
kubectl wait outputs cryptic "error: unrecognized condition: []" when --for is omittedTalvez já em andamento @muskan-creates352 assumiu hoje. Abertakind/bug needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
kubernetes/kubectl#1910 · 1 comentário ·
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
stacklok/toolhive-catalog#1967 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
unbound-force/gaze#353 ·
Mantenedores costumam responder em até 1 dia