052024Cloud · AISolo build

Serverless videoanalysis pipeline

Event-driven AWS Lambda pipeline: S3 upload triggers video splitting with FFmpeg, frame extraction, then face recognition via OpenCV and ResNet-34. Sub-270s end-to-end latency for 100 concurrent videos. Docker image optimized 60% with multi-stage builds.

End-to-end latency
<270s
Concurrent videos
100
Docker size reduction
60%
AWS Lambda cold-start
optimized for scale

Serverless at scale

Event-driven architecture: uploads to S3 trigger Lambda functions that orchestrate the pipeline. Each stage (splitting, extraction, recognition) runs independently, enabling horizontal scaling across concurrent workloads.

Event-driven pipeline: ingest → split → extract → recognize