Skip input serialization for local activities when doNotIncludeArgumentsIntoMarker is set
維護者通常 2 天內回覆
評估
研究方向
Start in SyncWorkflowContext.executeLocalActivity, which the issue identifies as serializing arguments before checking replay state; trace how doNotIncludeArgumentsIntoMarker affects marker creation and how local activities receive deserialized inputs. Check the relevant local-activity tests and add coverage for the option, including replay. Done means arguments bypass serialization and deserialization when they are not recorded in the marker, without changing marker or replay behavior.
由索引模型根據 Issue 內容生成。
描述
When user sets LocalActivityOptions.setDoNotIncludeArgumentsIntoMarker(true)
local activity arguments (inputs) are not written to event history. However they are still serialized and deserialized even tho they run in same process. Arguments are serialized always, including during replay. Deserialized when local activity runs.
SyncWorkflowContext.executeLocalActivity serializes the arguments as its first thing, before check if workflow is replaying.
doNotIncludeArgumentsIntoMarker controls only if serialized arguments end up in marker event, not if serialization happens or not
Why it matter:
this extra serialization / deserialization can create cpu cost when running payload encryption
Ask:
When local activity arguments are not written to marker event, pass them to local activity directly instead of serializing and deserializing them.
- 主要語言
- Java
- 星號
- 441
- 分支
- 266
- 平均合併
- 3 天 15 小時
- 30 天內合併 PR
- 17
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
temporalio/sdk-java 的其他 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 65/100
temporalio/sdk-java#1825 ·
維護者通常 2 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 51/100
temporalio/sdk-java#3189 ·
維護者通常 2 天內回覆
-
Skipped mutableSideEffect leaks an empty RecordMarker command after a full replay, and the workflow task fails on every retry可能已有人在做 @Quinn-With-Two-Ns 於 13 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 52/100
temporalio/sdk-java#3163 · 3 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
Add Spring Boot auto-configuration for standalone ActivityClient可能已有人在做 @Quinn-With-Two-Ns 於 13 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 35/100
temporalio/sdk-java#3146 · 2 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
Proposal: handle SIGTERM by default to initiate graceful worker shutdown可能重新可做 @eamsden 於 28 天前認領,目前沒有進行中的 PR。 未關閉
temporalio/sdk-java#3135 · 1 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
查看 temporalio/sdk-java 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
scylladb/scylla-cdc-source-connector#402 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 72/100
ahmedmmordi/store-app#8 ·
-
jhipster heroku fails on heroku git:remote when reusing an existing app outside a git repository未關閉area: triage theme: undefined
難度 2/5 1-3 小時 新手友好度 76/100
jhipster/generator-jhipster#36018 ·
維護者通常 1 天內回覆