Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#3,125 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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
54/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
java
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Java
Sterne
433
Forks
257
Ø Merge
2 T. 18 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus temporalio/sdk-java

Alle Issues in temporalio/sdk-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.