Posts

mysql 인덱스 관련 정리
인덱스는 ASC로 만들어도 DESC 방향으로 순회 가능 DESC 정렬은 ASC 인덱스를 역순으로 스캔할 수 있다. 다만 ASC 스캔 대비 오버헤드가 있을 수 있다 MySQL 5.x에서는 를 써도 실제 저장은 ASC였고 8.x부터는 실제로 DESC…
Read more…
cprayer
docker image layer는 압축 가능하다
동일한 이미지 태그를 가진 이미지가 ECR 내에서 볼 때와 로컬 명령을 통해 봤을 때 로컬 이미지 용량이 더 컸었다 왜 그런지 찾아보니 Viewing the contents and details of a repository in Amazon ECR…
Read more…
cprayer
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
argocd의 3-way diff 로 인한 이슈
최근 Kubernetes 환경에서 ArgoCD와 HPA(Horizontal Pod Autoscaler)를 함께 사용하던 중 프로덕션 환경에서 배포 도중 순간적인 Latency 증가와 요청 실패가 발생했다 non-production…
Read more…
cprayer
netty epoll_wait(..) failed: Function not implemented 에러 발생
TL; DR epoll_wait(..) failed: Function not implemented가 발생하면 netty 4.1.77.Final…
Read more…
cprayer
nf_conntrack_max 값이 kube-proxy에 의해 /etc/sysctl.conf 값이 아닌 의도하지 않은 값으로 업데이트
TL; DR kube-proxy 가 기동될 때 kernel의 nf_conntrack_max 파라미터 값이 업데이트될 수 있다 이슈 원인 전 회사에서 근무 도중 다른 팀에서 간헐적으로 극소수의 요청이 실패하는 경우가 있었으나 APM…
Read more…
cprayer
k8s와 /etc/resolv.conf
요약 k8s는 클러스터 내부에 등록된 도메인 리졸빙을 위해 pod의 /etc/resolve.conf에 search domain 및 ndots…
Read more…
cprayer
강제로 레플리카 레디스를 마스터로 승격시키기
요약 센티널이 failover-abort-no-good-slave 경고와 함께 페일 오버를 수행하지 못하는 경우 직접 관련된 레플리카 레디스에 들어가 replicaof no one…
Read more…
cprayer
hbase sharded client 1.2 dns 과다 질의 이슈
요약 hbase sharded client 1.2에는 hbase.resolve.hostnames.on.failure 옵션이 있다 동일 호스트명에 ip가 바뀌어 리전 서버가 투입되는 경우가 없다면 false로 하여 불필요한 dns…
Read more…
cprayer
redis lettuce client extended keepalive 옵션
요약 redis는 client - server간 어플리케이션 단에서 별도로 heartbeat packet을 통해 커넥션 유효 여부를 판단하지 않는다 커넥션이 유효하지 않은지를 판단하려면 lettuce의 keepalive…
Read more…
cprayer