Zettelkasten
Search
⌘K
Graph
Tags
#
performance
10개
Django 느린 API의 CPU 병목은 DB가 아니라 직렬화 계층인 경우가 많다
1,704자
django
drf
serialization
performance
cpu
N+1 쿼리 해결은 쿼리당 고정비용만 회수하고 행당 파싱 비용은 줄이지 않는다
1,701자
django
orm
n-plus-one
pymysql
performance
cpu
Python 3.11 gevent 성능은 greenlet 패치 버전에 좌우된다 - 3.2.4는 느리고 3.4.0+는 회복한다
2,089자
python
gevent
greenlet
performance
benchmark
변수 하나만 바꾼 카나리를 같은 타깃그룹에 동시 투입하면 부하 교란 없이 회귀 원인을 격리한다
2,314자
canary
ab-testing
performance
ecs
newrelic
observability
DB 커넥션은 풀 크기를 늘리기 전에 트랜잭션 점유시간을 줄여 회전율을 높인다
1,156자
database
connection-pool
transaction
performance
minimumIdle을 maximumPoolSize와 같게 둔 고정 풀은 버스트 때 커넥션 생성 지연을 없앤다
2,201자
connection-pool
performance
database
커넥션 풀 대기는 프로세스당 실사용량으로 풀 고갈과 재연결 churn을 가른다
1,712자
connection-pool
performance
diagnosis
gunicorn
rds
IN 리스트가 eq_range_index_dive_limit를 넘으면 옵티마이저가 index dive를 포기해 잘못된 plan을 고른다
1,440자
mysql
index
query-optimization
database
performance
gunicorn sync worker는 keep-alive를 무의미하게 만든다
1,027자
gunicorn
http-keepalive
python
nginx
performance
Gunicorn 워커 수가 많아지면 thundering herd로 인해 일부 워커만 요청을 받는다
1,267자
gunicorn
thundering-herd
haproxy
python
performance
django