Repository navigation
Replies: 1 comment
|
@tannerlinsley I am happy to continue exploring this and contributing back if there is interest |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Feature request: Official AWS adapter —
@tanstack/workflow-awsI'd like to propose an official
@tanstack/workflow-awspackage for running TanStack Workflow on AWS, with DynamoDB backed durable execution and documented Lambda deployment patterns.Motivation
For applications already deployed on AWS, it would be useful to adopt TanStack Workflow while keeping workflow state and execution within their existing infrastructure.
The goal is to preserve TanStack Workflow’s programming model while providing an AWS-specific persistence and coordination layer.
Proposed scope
Multi-region operation could be an advanced deployment option rather than a requirement for every user.
Experimental implementation
I built an experimental implementation here:
ataylorme/tanstack-workflow-aws
It provides a DynamoDB execution store and AWS deployment examples, including active/active execution using DynamoDB Global Tables with multi-region strong consistency (MRSC).
The prototype currently includes a matching TanStack Workflow engine snapshot. An official package should instead align with the upstream runtime and supported adapter interfaces.
This is a starting point for discussion and review, not a claim that the current implementation is ready for adoption unchanged.
Validation in a real AWS deployment
I integrated the adapter into a separate TanStack Start application
The documented validation covers:
That historical report concerns the earlier Git-pinned implementation. I also subsequently deployed the published
@ataylorme/tanstack-workflow-aws@0.1.0package and reran the cross-region workflow acceptance checks successfully.These are bounded integration tests, not production certification, load testing, or proof of resilience to an actual AWS regional outage.
Important design boundaries
The prototype’s active/active coordination relies on MRSC, not ordinary eventually consistent Global Tables. External side effects still require application-level idempotency, and loss of quorum prevents safe writes. Retention, payload limits, and high-throughput behavior also need further work and review.
Questions for maintainers
The existing packages and contract suite provide a concrete starting point. I'd appreciate feedback on contribution scope and AWS-specific acceptance criteria, especially for multi-region coordination.
All reactions