బలమైన, మూల్యవంతమైన బ్యాకగ్రౌండ్ జాబ్ల కోసం (FastAPI యొక్క లేత BackgroundTasks కంటే ఎక్కువ), మీరు నిజమైన టాస్క్ క్యూని ఉపయోగిస్తారు: Celery (స్థాపించబడిన ప్రమాణం) లేదా ARQ (ఆధునిక async-native క్యూ). ఇవి Redis వంటి బ్రోకర్ ద్వారా సమర్థించిన ప్రత్యేక worker ప్రక్రియలలో భారీ, పునరావృతం చేయగల, షెడ్యూల్ చేయబడిన పనిని అమలు చేస్తాయి.
BackgroundTasks ఎందుకు కాదు?
BackgroundTasks runs in the web process → NO persistence (lost on crash), NO retries,
NO scheduling, and heavy work ties up the worker. Fine only for quick fire-and-forget.
For durable/critical/heavy/scheduled jobs → use a real task queue (Celery / ARQ).
