Python Asyncio 블로킹: Event loop 행(Hang) 현상, run_in_executor로 해결한 실전 기록 26 Dec 2025 Post a Comment 금요일 오후 4시, 잘 돌아가던 FastAPI 기반의 마이크로서비스가 갑자기 504 Gateway Timeout을 뱉어내기 시작했습니다. CPU 사용량은 100%를 치지 않았는데도 요청 처리가 지연되더니, 급기야 Kubernetes의 Liveness Probe조차… Event Loop BlockingkoPython Asyncio동시성 프로그래밍비동기 디버깅파이썬 성능 최적화