#1 동기 HTTP → async aiohttp (Critical) - RemoteTransport: urllib.request → aiohttp.ClientSession - 모든 HTTP 요청이 non-blocking으로 전환 - 이벤트 루프 블로킹 문제 해결 #2 연결 상태 모니터링 - RemoteTransport: connected 플래그 + 연속 실패 카운터 - Collector: 30초마다 health check → 실패 시 경고 로그 - 연결 복구 시 '✅ Gateway connected' 메시지 #3 실패 재시도 큐 - RemoteTransport: _retry_queue (최대 100건) - POST 실패 시 큐에 저장, 연결 복구 후 자동 재전송 - Collector: 10초마다 retry flush
12 KiB
12 KiB