Python Asyncio: The Complete Guide - Super Fast Python
Context vars set in an async dependency are visible for sync routes but not for sync functions run inside ThreadPoolExecutor · tiangolo fastapi · Discussion #9006 · GitHub
Running separate infinite background thread in a python webapp (fastapi/flask/django) - Stack Overflow
Speed Up Your Python Program With Concurrency – Real Python