Prompt
What should I use for a webhook-driven video pipeline?
Latest observation
Nov 1, 2026
OpenAI APIWeb search: off
For a webhook-driven video pipeline, the best choice is usually a queue + worker architecture, not a single always-on webhook handler.
Recommended setup
Use:
- Webhook endpoint to receive events
- Message queue to buffer and decouple processing
- Worker service to run video jobs
- Object storage for input/output files
- Database to track job status
Typical flow
- External service sends a webhook
- Your API validates it and immediately returns
200 OK - Event is pushed to a queue
- A worker pulls the job and processes the video
- Worker updates status and stores output
- Optional callback/webhook notifies the client when done
Good options
If you want something simple and cloud-native
- AWS: API Gateway / ALB + Lambda + SQS + ECS/Fargate or Batch + S3 + DynamoDB
- GCP: Cloud Run / Functions + Pub/Sub + Cloud Run Jobs + Cloud Storage + Firestore
- Azure: Functions + Service Bus + Container Apps/Batch + Blob Storage + Cosmos DB
If you’re building a self-managed stack
- FastAPI / Express for webhook ingestion
- Redis Queue / Celery / Sidekiq / BullMQ / RabbitMQ / Kafka for jobs
- FFmpeg in containers for video processing
- S3-compatible storage for files
- Postgres for metadata/status
What I’d pick in practice
- Small to medium scale: FastAPI/Express + SQS or Redis queue + Dockerized FFmpeg workers
- Higher scale / reliability: SQS or Pub/Sub + container workers on ECS/Kubernetes/Cloud Run
- Heavy transcoding: use a dedicated media pipeline or managed video service if available
Key design rules
- Respond to the webhook fast; don’t transcode inside the request
- Make jobs idempotent
- Store every job state transition
- Use retries with dead-letter queues
- Keep video files in object storage, not local disk
- Use signed URLs for upload/download
If you mean a programming language/framework
A solid choice is:
- Python + FastAPI + Celery + FFmpeg or
- Node.js + Express/NestJS + BullMQ + FFmpeg
If you want, I can recommend a specific stack based on your cloud provider, scale, and whether you need transcoding, clipping, or thumbnail generation.