Which FaaS provide higher /tmp storage space for per function execution?

173 Views Asked by At

We are developing a video streaming platform

We need to convert video files uploaded by the user which is in cloud storage

We decided to use AWS Lamda for that purpose .

But later we find out lambda can't process file above 512 MB since the allocated /TMP folder max size is 512 MB

Our video files in S3 bucket is above 1 GB

So we need to find out other FaaS who provide /TMP space atleast 2 GB ?

So please suggest a faas provider who give atleast 2 GB

Note : if there is none , please suggest me a alternative way

1

There are 1 best solutions below

1
On

I would recommend a Lambda + Fargate solution for this one.

The Lambda can be triggered by an S3 upload event (alternatively, it can be another event source as long as it gets the S3 path to the file).

This Lambda then triggers a Fargate task given the S3 path to the video file.

A good example for this can be seen in https://serverless.com/blog/serverless-application-for-long-running-process-fargate-lambda/.