You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spent two days into this, and realized that JSON is not going to work for saving the double serialization. This is because the data that we are storing is not valid JSON because of pagination, hence we cannot use json.RawMessage.
The best way is to use proto based serialization like gRPC.
Defer this for now until we know it's necessary to do this
The text was updated successfully, but these errors were encountered:
mixydubs
changed the title
[perf] fix double serialization for continueAsNew input
[perf] fix double serialization for continueAsNew input (IWF-140)
Oct 31, 2024
Right now the input is stored like this in the history:
You can see a lot of
\\
in it which is very wasteful and hard to read.This is because this
DumpWorkflowInternal
activity has serialized the data that is already JSON serialized.iwf/service/interpreter/activityImpl.go
Line 264 in ef706ab
We need to improve this.
Spent two days into this, and realized that JSON is not going to work for saving the double serialization. This is because the data that we are storing is not valid JSON because of pagination, hence we cannot use json.RawMessage.
The best way is to use proto based serialization like gRPC.
Defer this for now until we know it's necessary to do this
The text was updated successfully, but these errors were encountered: