Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference Based result payloads #13

Open
thantos opened this issue Nov 14, 2022 · 1 comment
Open

Reference Based result payloads #13

thantos opened this issue Nov 14, 2022 · 1 comment
Assignees

Comments

@thantos
Copy link
Contributor

thantos commented Nov 14, 2022

Data returned from activities and workflows may be larger than can we stored in dynamo and sqs.

  • Save values into s3, dynamo, or inline using an abstracted client based on size.
  • Dereference result values as needed for the workflow to operate. Dereference into s3 for workflow access.
@thantos thantos mentioned this issue Nov 14, 2022
2 tasks
@sam-goodwin sam-goodwin pinned this issue Feb 27, 2023
@sam-goodwin
Copy link
Owner

I think this is high priority. Passing data around through workflows is super important. @yehudacohen has been pushing for this also.

While building out an example, I found myself wanting something like this:

const getMyData = activity("getMyData", async () => {
  const myData = new JsonRef<MyPayloadType>(myPayload);

  return myData;
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants