samples-typescript icon indicating copy to clipboard operation
samples-typescript copied to clipboard

[Feature Request] AWS SQS Sample

Open michaelangeloio opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Using Temporal IO alongside an AWS FIFO queue (or AWS queue in general) can be beneficial for several reasons:

  • Decoupling of Services: In environments where two services cannot communicate over the same local network due to being in different clusters or policy constraints, a queue acts as a mediator. AWS SQS can store messages until they're consumed, ensuring that messages aren't lost even if the consuming service isn't immediately available.

  • Integration with Existing Architecture: For organizations that have already invested in AWS and use SQS queues, integrating Temporal can enhance the processing capabilities without a complete overhaul. Temporal can be introduced to handle the business logic, retries, and workflows, while SQS continues to act as the message broker.

  • Ordered Processing: FIFO queues ensure that messages are processed in the order they are sent, which is crucial in scenarios like financial transactions or data synchronization.

Describe the solution you'd like

Sample folder that shows some basic setup!

michaelangeloio avatar Oct 08 '23 20:10 michaelangeloio