Hacker News new | ask | show | jobs
by doc_holliday 3049 days ago
Video encoding would be stateless. There is no reliance on previous runs / state.

Lambda is designed to be used for tasks like that, such as resizing images, parsing file etc.

1 comments

In a semantic sense it is stateless.

But what I mean is that its clearly not designed for you to be dropping files onto the local disk.

Video encoding is kind of a corner case in that the size of the data really stops you from doing the whole thing in memory, though the persistance isn't needed in between runs.

Probably what you want to look into is attaching an EBS volume to the job, and doing the work from there.