this post was submitted on 30 Oct 2025
19 points (82.8% liked)
Programming
14526 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Maybe I have been lucky, but I've never seen a company (including "cloud-native" ones) use serverless (code compute) like this. Lambdas only ever get used for tiny, atomic functions in my experience. Never heard of or seen someone try to do a 20-minute video conversion in lambda.
Any tool misused is a handicap, and I feel like the architecture presented here isn't making it clear that serverless code compute was ever right for this task.
For instance, if video processing is being done on a constant or consistent, non-ad-hoc basis, why is serverless being used at all? Who made that decision? If it's infrequent enough that it doesn't make cost sense to run a whole dedicated instance, why not have a Fargate node (container) or something that encapsulates the "background worker" portion of the process? That would let you have an equivalent "simple" flow as in the original process diag, but without the limitations of doing everything in Lambda.
Lambda is great for things like building SOAR flows, e.g. disabling network access to a compromised instance, taking a snapshot, pulling logs, etc. Infrequent, able to combine cloud infra and host-internal actions, and fast. That's a perfect use-case for Lambdas.