본문 바로가기
Computer/Server

graceful shutdown

by 생각하는달팽이 2023. 12. 28.
spring:
  task:
    execution:
      pool:
        core-size: 150
        max-size: 1000
        queue-capacity: 1500
        keep-alive: 60s
      shutdown:
        await-termination: true
        await-termination-period: 60s

 

spring 을 이용한 service 운영시 graceful shutdown 이 제대로 동작하지 않는다면, 위의 옵션이 빠져있는지 확인해보자. ( pool 옵션 제외 ) 

반응형

'Computer > Server' 카테고리의 다른 글

p90, p95, p99 latency  (0) 2022.11.16
Issue with using reflect in kotlin  (0) 2022.10.06
summary of async, webflux  (0) 2022.08.04
Webflux exchange 와 retrieve 의 차이  (0) 2021.03.25
Nginx Deny all, allow specific ip  (0) 2020.04.25