Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Skip result deserialization for local activities and SideEffect when not replaying (mutableSideEffect already does this)

Aperta
#3,125 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start by reading SyncWorkflowContext.mutableSideEffectImpl, which the issue identifies as the existing pattern, then trace how SideEffect and Local Activities serialize and deserialize results. Check the relevant tests for replay and non-replay behavior; done means non-replaying execution returns the original result while replay still deserializes it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

MutableSideEffect already avoids deserializing a result it just serialized as it keeps the original object and only deserializes when the workflow is replaying (SyncWorkflowContext.mutableSideEffectImpl)

Currently SideEffect and Local Activities dont do this - both serialize the result and immediately deserialize it again, even tho the original object is in same process.

Why it matters:
For cases where local activities can return larger results and/or run large num of local activities, the repeated deserialization can cost cpu.

Ask:
when workflow execution is not replaying, return the original object to SideEffect and Local Activity result similarly what MutableSideEffect does.

Lingua principale
Java
Stelle
433
Fork
257
Merge medio
2g 18h
PR unite (30g)
24

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di temporalio/sdk-java

Tutte le issue di temporalio/sdk-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.