Repository navigation
perf: 스택 배포의 admin_be 기동·검증 대기·config-server 준비 확인에 드는 시간을 줄임 - #265
Merged
Merged
Conversation
- admin_be의 CPU 한도(1코어)를 없앤다. JVM 기동이 한도에 묶여 배포마다 기동만 25초가 걸렸다. 요청값과 메모리 한도는 그대로다. - 배포 뒤 검증의 재시도 간격을 5초에서 1초로 줄인다. 기다리는 총 한도(60초·120초)는 그대로다. - 막혀 있어야 정상인 연결 확인이 끝까지 기다리는 시간을 6초에서 3초로 줄인다. - config-server에 시작 전용 확인(2초 간격)을 둬 준비되는 즉시 다음 단계로 넘어가게 한다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CPU 한도를 없애 기동이 7초로 줄어도 첫 준비 확인이 20초 뒤라 교체 시간이 그대로였다(full 스택 실측). 뜨는 동안 2초마다 확인하고, 기다리는 한도는 예전과 같은 320초다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
배경
배포의 마지막 작업(deploy)이 94~143초 걸립니다. v3.3.55 운영 배포 기준으로 admin_be 교체 38초(그중 Spring 기동 24.6초), 검증 24초가 큰 덩어리였습니다.
변경
검증 항목 자체는 줄이지 않았습니다.
검증
stack-up.sh문법, 내장 검증 코드 구문 확인관련: admin_be, admin_infra의 같은 이름 브랜치
🤖 Generated with Claude Code