Main
About
Main
About
Posts
spring boot 2 / 3 / 4(spring batch 4 / 5 / 6) 에서 배치용 datasource / platformTransactionManager 설정 방법
spring 2.7.4(spring batch 4) 하나의 datasource만 사용하는 경우에는 EnableBatchProcessing 어노테이션 + application.yaml(spring.datasource…
Read more…
cprayer
24 December, 2025 - 2 min read
kotlin.math.round(4.5) = kotlin.math.round(3.5) ?, 사사오입과 오사오입(Round half to even)
TL; DR Dobule 타입을 사용할 때 흔히 아는 반올림(사사오입)을 기대하는 경우라면 roundToInt / roundToLong…
Read more…
cprayer
24 December, 2025 - 1 min read
mysql 인덱스 관련 정리
인덱스는 ASC로 만들어도 DESC 방향으로 순회 가능 DESC 정렬은 ASC 인덱스를 역순으로 스캔할 수 있다. 다만 ASC 스캔 대비 오버헤드가 있을 수 있다 MySQL 5.x에서는 를 써도 실제 저장은 ASC였고 8.x부터는 실제로 DESC…
Read more…
cprayer
24 November, 2025 - 2 min read
docker image layer는 압축 가능하다
동일한 이미지 태그를 가진 이미지가 ECR 내에서 볼 때와 로컬 명령을 통해 봤을 때 로컬 이미지 용량이 더 컸었다 왜 그런지 찾아보니 Viewing the contents and details of a repository in Amazon ECR…
Read more…
cprayer
23 November, 2025 - 1 min read
eclipse-temurin 17.0.8.1 에서 C2 Compiler crash(SIGSEGV) 발생
eclipse-temurin 17.0.8.1 사용 시 간헐적으로 아래와 같은 JVM SIGSEGV Crash 로그와 함께 어플리케이션이 종료되면서 continer가 재기동되었다 이슈가 해결된 버전(ex. 17.0.15_…
Read more…
cprayer
15 November, 2025 - 1 min read
argocd의 3-way diff 로 인한 이슈
최근 Kubernetes 환경에서 ArgoCD와 HPA(Horizontal Pod Autoscaler)를 함께 사용하던 중 프로덕션 환경에서 배포 도중 순간적인 Latency 증가와 요청 실패가 발생했다 non-production…
Read more…
cprayer
09 November, 2025 - 2 min read
netty epoll_wait(..) failed: Function not implemented 에러 발생
TL; DR epoll_wait(..) failed: Function not implemented가 발생하면 netty 4.1.77.Final…
Read more…
cprayer
18 May, 2025 - 1 min read
nf_conntrack_max 값이 kube-proxy에 의해 /etc/sysctl.conf 값이 아닌 의도하지 않은 값으로 업데이트
TL; DR kube-proxy 가 기동될 때 kernel의 nf_conntrack_max 파라미터 값이 업데이트될 수 있다 이슈 원인 전 회사에서 근무 도중 다른 팀에서 간헐적으로 극소수의 요청이 실패하는 경우가 있었으나 APM…
Read more…
cprayer
18 May, 2025 - 1 min read
k8s와 /etc/resolv.conf
요약 k8s는 클러스터 내부에 등록된 도메인 리졸빙을 위해 pod의 /etc/resolve.conf에 search domain 및 ndots…
Read more…
cprayer
06 July, 2022 - 3 min read
강제로 레플리카 레디스를 마스터로 승격시키기
요약 센티널이 failover-abort-no-good-slave 경고와 함께 페일 오버를 수행하지 못하는 경우 직접 관련된 레플리카 레디스에 들어가 replicaof no one…
Read more…
cprayer
04 July, 2022 - 1 min read
1
2
3
Tags
k8s (6)
troubleshooting (5)
network (3)
spring (3)
redis (2)
C2 Compiler (1)
ECR (1)
HPA (1)
HTTP (1)
IEEE 754 (1)
JIT (1)
RFC (1)
TCP (1)
absolute-fqdn (1)
argocd (1)
cka (1)
communicationsException (1)
data-structure (1)
dbcp2 (1)
dns-timeout-issue (1)
docker (1)
docker-registry (1)
domain (1)
eclipse-temurin (1)
extended keepalive (1)
git (1)
hbase (1)
hbase-sharded-client (1)
java (1)
k8s-probe (1)
k8s-secret (1)
k8s-tls (1)
keep-alive (1)
kotlin (1)
kube-proxy (1)
lettuce (1)
mysql (1)
netty (1)
nf-conntrack (1)
openjdk (1)
redis-sentinel (1)
search-domain (1)
spring-batch (1)
spring-bean (1)
spring-bean-lite-mode (1)
spring-boot (1)
spring-request-mapping (1)
ubuntu (1)
vegeta (1)