GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing cprayer.github.io — cprayer

모든 글

29 posts

dumb-init 이 손자 프로세스를 기다리지 않아 graceful shutdown 이 동작하지 않던 이슈

TL; DR dumb-init 을 PID 1 로 두어도 를 shell form 으로 쓰면 구조로 실행된다 SIGTERM 은 프로세스 그룹 전송이라 앱까지 도달하지만 sh 는 SIGTERM 을 받자마자 바로 종료되고 dumb-init…

22 September, 20266 min read

Topology Aware Routing 으로 인해 일부 pod 에만 트래픽이 몰린 이슈

TL; DR Topology Aware Routing 은 zone 별 노드의 allocatable CPU 비율로 forZones 힌트를 계산한다 pod 가 zone 에 고르게 배치되지 않은 상태에서 힌트가 붙으면 쏠림(skew…

11 September, 20265 min read

redis 정리

redis는 epoll, kqueue 와 같은 I/O 멀티 플렉싱을 통해 이벤트 루프 기반의 싱글 쓰레드로 동작하고 다양한 자료구조(string, set, zset, pubsub, hyperloglog, etc…

21 February, 20261 min read

mongo document 가 동시에 대량 TTL expired 될 때 동작

mongo에서는 TTL index 를 통해 document 를 특정 시간 이후 자동으로 삭제할 수 있다 만약에 동시에 엄청 많은 document…

26 December, 20251 min read

spring boot 2 / 3 / 4(spring batch 4 / 5 / 6) 에서 배치용 datasource / platformTransactionManager 설정 방법

spring boot 2.7.4(spring batch 4) 하나의 datasource만 사용하는 경우에는 EnableBatchProcessing 어노테이션 + application.yaml(spring.datasource…

24 December, 20252 min read

kotlin.math.round(4.5) = kotlin.math.round(3.5) ?, 사사오입과 오사오입(Round half to even)

TL; DR Dobule 타입을 사용할 때 흔히 아는 반올림(사사오입)을 기대하는 경우라면 roundToInt / roundToLong…

24 December, 20251 min read

mysql 인덱스 관련 정리

인덱스는 ASC로 만들어도 DESC 방향으로 순회 가능 DESC 정렬은 ASC 인덱스를 역순으로 스캔할 수 있다. 다만 ASC 스캔 대비 오버헤드가 있을 수 있다 MySQL 5.x에서는 를 써도 실제 저장은 ASC였고 8.x부터는 실제로 DESC…

24 November, 20252 min read

docker image layer는 압축 가능하다

동일한 이미지 태그를 가진 이미지가 ECR 내에서 볼 때와 로컬 명령을 통해 봤을 때 로컬 이미지 용량이 더 컸었다 왜 그런지 찾아보니 Viewing the contents and details of a repository in Amazon ECR…

23 November, 20251 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_…

15 November, 20251 min read
123
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.