We should setup an SQS Queue to help us manage the new system's workflows. The queue will be used to help isolate the system from issues with external dependencies.
Lambdas have a maximum timeout of 15 minutes. While it's unlikely anything would take that long to process, we should ensure that anything outside our control does not interfere with the basic functionality of the system.
A queue will also give us the opportunity to 'pause' communications with external systems and reprocess failures.
An example of the basic message structure will be: {"topic":"pending-publication","dmp":"DMP#doi:10.12345/A1B2C3","paused":"false"}
The Lambdas will be setup to poll the Queue and process messages that match their designated topic and are not paused.
We should setup an SQS Queue to help us manage the new system's workflows. The queue will be used to help isolate the system from issues with external dependencies.
Lambdas have a maximum timeout of 15 minutes. While it's unlikely anything would take that long to process, we should ensure that anything outside our control does not interfere with the basic functionality of the system.
A queue will also give us the opportunity to 'pause' communications with external systems and reprocess failures.
An example of the basic message structure will be:
{"topic":"pending-publication","dmp":"DMP#doi:10.12345/A1B2C3","paused":"false"}
The Lambdas will be setup to poll the Queue and process messages that match their designated topic and are not paused.