Process SQS queue items and then combine the items to store the log in S3

ساخت وبلاگ

Vote count: 0

I have items in my SQS queue. I then grab 100 items from queue to process and then I want to store the processed items in S3.

However, the problem is that since I will be storing 100 items each, there will be numerous pieces of logs in the S3.

One way to solve this is to store 100 items locally into a file and then keep updating locally until it reaches a certain threshold. Only after that upload to S3.

Is this how it is supposed to work?

Thanks.

asked 44 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 317 تاريخ : شنبه 9 مرداد 1395 ساعت: 16:40