Skip to content

fix: 부하견디기 수정#270

Merged
jongcoding merged 2 commits intodevfrom
hotfix/first
Nov 6, 2025
Merged

fix: 부하견디기 수정#270
jongcoding merged 2 commits intodevfrom
hotfix/first

Conversation

@jongcoding
Copy link
Member

========================================

HikariCP Connection Pool (부하 테스트 대응)

========================================

근거:

- 50팀 동시 접속 시나리오 (카운트다운 종료 직후)

- 각 요청당 1개 DB 연결 필요

설정:

- maximum-pool-size=50: 최대 50개 DB 연결

- minimum-idle=10: 평상시 10개 연결 유지

- connection-timeout=30000: 연결 대기 최대 30초

spring.datasource.hikari.maximum-pool-size=50
spring.datasource.hikari.minimum-idle=10
spring.datasource.hikari.connection-timeout=30000
spring.datasource.hikari.idle-timeout=600000
spring.datasource.hikari.max-lifetime=1800000

========================================

Tomcat Thread Pool (동시 요청 처리)

========================================

근거:

- 50팀 + 여유분 고려

- Spring Boot 기본값: 200 threads

설정:

- max=200: 최대 200개 스레드

- min-spare=10: 최소 10개 스레드 유지

- accept-count=100: 대기열 크기

- max-connections=10000: 최대 연결 수

server.tomcat.threads.max=200
server.tomcat.threads.min-spare=10
server.tomcat.accept-count=100
server.tomcat.max-connections=10000

@jongcoding jongcoding merged commit e93f966 into dev Nov 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant