How to architect long-running processes on EB workers?

0

I have a few processes that I've offloaded onto EB Worker environments, but there are some that take a long time, such as daily backups or file imports. However, what happens is that the SQS message times out waiting to hear a response and then it refires again later, causing duplicated backups or imports. I have extended the queue visibility timeout and the receive message wait time is 0 (infinite?) and updated the proxy nginx server config timeout to a long time, but I was wondering if there was general architecture guidance for something like this? Like if your worker is going to take a long time (15 minutes?), how do you set that up? Do you need to worry if it was successful?

JPurdy
已提问 3 个月前87 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容