Menu

Post image 1
Post image 2
1 / 2
0

Python Celery Task Queues for Video Metadata Processing

DEV Community·ahmet gedik·25 days ago
#kZlV55hM
Reading 0:00
15s threshold

When Synchronous Processing Breaks Down As DailyWatch grew past 50,000 videos across 8 regions, our cron pipeline started hitting the wall. Thumbnail validation, metadata enrichment, and broken link detection can't all run in a single sequential script without blowing past timeout limits. The solution: offload heavy work to Celery task queues. Setting Up Celery with Redis Install the dependencies: pip install celery[redis] requests pillow Enter fullscreen mode Exit fullscreen mode Configure Celery with sensible defaults: # celery_app.py from celery import Celery app = Celery ( " dailywatch " , broker = " redis://localhost:6379/0 " , backend = " redis://localhost:6379/1 " , ) app . conf .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More