Skip to content

Task with images #421

Discussion options

You must be logged in to vote

If images are big, it probably worth to load them to S3 after recieving them in API endpoint. After that you can send link for this image to task as a parameter. Otherwise it can be not optimal to store big file in storage you use for tasks.

I saw a good solution for that problem in taskiq-aio-sqs, where author uses s3 for large taskiq messages automatically after some threshold. You can find code here.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by s3rius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants