We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server.tomcat.max-threads=300
spring.cache.type=redis spring.redis.host=localhost spring.redis.port=6379
spring.datasource.hikari.maximum-pool-size=300
EXPLAIN PLAN
서버 사양을 늘려 더 많은 트래픽 처리:
현실적으로, AWS 프리 티어 계정을 쓰고 있기 때문에 스케일 업 방식은 어려운 부분이 있습니다.
프리 티어 계정을 여러 개 사용하여, 스케일 아웃을 통한 트래픽 분산을 시도하는 것이 현재 상황에 더 맞다고 생각하고 있습니다.
JMeter로 API 요청 시뮬레이션(TPS 1000 테스트):
테스트 결과에 따른 병목지점 개선:
The text was updated successfully, but these errors were encountered:
👍🏻
Sorry, something went wrong.
dltnals317
airoca
No branches or pull requests
✅ TPS 1000 대응을 위한 성능 최적화 방안
💡 읽기 요청이 많은 경우
💡 쓰기 요청이 많은 경우
💡 외부 API 호출 포함
💡톰캣 워커 스레드 설정:
server.tomcat.max-threads=300
(요청량에 따라 200~500 사이로 조정).💡스프링 비동기 처리:
💡스프링 캐시:
2.4 DB 커넥션 풀 설정
spring.datasource.hikari.maximum-pool-size=300
(TPS 및 쿼리 성능에 따라 조정).EXPLAIN PLAN
) 분석 및 인덱스 추가.💡스케일 아웃
💡스케일 업
서버 사양을 늘려 더 많은 트래픽 처리:
현실적으로, AWS 프리 티어 계정을 쓰고 있기 때문에 스케일 업 방식은 어려운 부분이 있습니다.
프리 티어 계정을 여러 개 사용하여, 스케일 아웃을 통한 트래픽 분산을 시도하는 것이 현재 상황에 더 맞다고 생각하고 있습니다.
JMeter로 API 요청 시뮬레이션(TPS 1000 테스트):
테스트 결과에 따른 병목지점 개선:
💡JPA N+1 문제 해결
💡페이징 처리 적용
💡캐싱
💡커넥션 풀 관리
💡쓰레드 풀 크기 조정
💡로드 밸런싱
The text was updated successfully, but these errors were encountered: