# Spring Boot + Kubernetes 기반에서 웜업 적용하기

> Clean Markdown view of GeekNews topic #10625. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=10625](https://news.hada.io/topic?id=10625)
- GeekNews Markdown: [https://news.hada.io/topic/10625.md](https://news.hada.io/topic/10625.md)
- Type: news
- Author: [yechoi](https://news.hada.io/@yechoi)
- Published: 2023-08-30T16:36:32+09:00
- Updated: 2023-08-30T16:36:32+09:00
- Original source: [engineering.linecorp.com](https://engineering.linecorp.com/ko/blog/apply-warm-up-in-spring-boot-and-kubernetes?utm_source=geeknews&amp;utm_medium=devrel)
- Points: 11
- Comments: 1

## Topic Body

* Kubernetes 환경 Spring Boot 기반 웹 애플리케이션(일본의 배달 서비스 '데마에칸')  
* 콜드 스타트의 영향으로 초기 지연 현상 발생, 웜업을 적용하기로  
  * 웜업은 가상의 사용자를 시뮬레이션해 필요한 기능과 라이브러리를 미리 로딩하는 전략  
* 웜업을 적용한 방법  
  * 워머(warmer) 구현  
  * Spring Actuator 커스텀 HealthIndicator 추가  
  * Kubernetes 프로브 설정  
* 웜업 적용으로 초기 지연 현상이 크게 개선됨  
* 웜업으로 초기 지연 현상이 개선되는 이유  
  * 클래스 로드 사전 진행  
  * 프로파일링 정보 사전 생성  
  * I/O 연결 설정 사전 진행  
* 웜업을 적용할 때 고려해야 할 점

## Comments



### Comment 18749

- Author: mhj5730
- Created: 2023-08-30T17:42:11+09:00
- Points: 1

라인 엔지니어링 기술 블로그... 국내 탑 IT 기술 블로그가 아닌가 생각됩니다.  
정말 좋은 인재들이 있네요,
