Break out TTS synthesis into a dedicated Celery worker (tts queue) with concurrency=8 for parallel processing. Each AD cue is now synthesized as a separate task, enabling up to 8 cues to be processed simultaneously. Key changes: - Add tts_synthesis.py with synthesize_cue_task for per-cue synthesis - Refactor translate_and_synthesize.py to dispatch cue tasks in parallel - Add tts-worker service to docker-compose.yml (concurrency=8) - Add Cloud Run service config for production deployment Benefits: - Parallel synthesis even for single jobs (e.g., 50 cues → 8 concurrent) - Natural rate limiting across multiple concurrent jobs - Fault tolerance with per-cue retries and GCS persistence 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cloud-cdn | ||
| cloud-run | ||