Skip input serialization for local activities when doNotIncludeArgumentsIntoMarker is set
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
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
- 星标
- 433
- 派生
- 257
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 22
环境准备
- 没有 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 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 54/100
temporalio/sdk-java#3125 ·
维护者通常 2 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
temporalio/sdk-java#3122 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 38/100
temporalio/sdk-java#3121 ·
维护者通常 2 天内回复
-
Allow a timer summary on Workflow.sleep and Workflow.await with timeout可能已有人在做 @sangkyoonnam 于 5 天前认领。 未关闭enhancement
难度 4/5 3-5 天 新手友好度 55/100
temporalio/sdk-java#3108 ·
维护者通常 2 天内回复
查看 temporalio/sdk-java 的全部 Issue
相似的 Issue
-
[Bug] Logo style setting missing and `classic` style not applied across multiple platforms (v3.1.0)未关闭
难度 2/5 1-3 小时 新手友好度 75/100
Stirling-Tools/Stirling-PDF#8382 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 4 天内回复
-
enhancement untriaged
难度 2/5 1-3 小时 新手友好度 78/100
opensearch-project/sql#5842 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
openhab/openhab-addons#21882 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
YunaiV/ruoyi-vue-pro#1273 ·
维护者通常 3 天内回复