Reputation: 18097
Firstly I'm not sure if my approach is right one.
This is what I'm doing. I've some video processing work to do, for which I'm gonna use FFMPEG. And it can take from 1 minute to 20 minutes to do work.
so my questions are:
From what I know it's perfect scenario to use cloud functions. Alternative is to use build queue, wait for available processes to finish and then when time comes finish task.
Upvotes: 0
Views: 667
Reputation: 785
It might be a little tricky for you to perform this using Google Cloud Functions. Yes, you can increase the timeout limit, but right now the max is 5 minutes and if your video file is large enough then you might constantly run into timeout issues. To me it looks like you have two options.
This is definitely possible, they had a talk at AWS:Ignite 2017 about using FFMPEG, Lambdas, and Step Functions to accomplish the task.
Upvotes: 2