직무 트랙별 이력서(md), PDF 변환 스크립트, 생성된 dist 산출물 추가. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
207 lines
9.2 KiB
HTML
207 lines
9.2 KiB
HTML
<!doctype html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>03-performance-db.feat.google-version</title>
|
|
<style>:root {
|
|
color-scheme: light;
|
|
--ink: #1f2933;
|
|
--muted: #52616b;
|
|
--rule: #d8dee4;
|
|
--accent: #0f766e;
|
|
--soft: #eef7f5;
|
|
}
|
|
|
|
@page {
|
|
size: A4;
|
|
margin: 10mm 12mm 11mm;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: #ffffff;
|
|
color: var(--ink);
|
|
font-family: "Noto Sans CJK KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
|
|
font-size: 8.9pt;
|
|
line-height: 1.38;
|
|
word-break: keep-all;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
main {
|
|
max-width: 190mm;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
margin: 0;
|
|
line-height: 1.25;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
h1 {
|
|
padding-bottom: 2.8mm;
|
|
border-bottom: 2px solid var(--accent);
|
|
font-size: 18.5pt;
|
|
font-weight: 800;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 4.6mm;
|
|
padding-bottom: 1.1mm;
|
|
border-bottom: 1px solid var(--rule);
|
|
color: var(--accent);
|
|
font-size: 12.1pt;
|
|
font-weight: 800;
|
|
}
|
|
|
|
h3 {
|
|
margin-top: 3.6mm;
|
|
font-size: 10.4pt;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.project {
|
|
display: block;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.project h3 {
|
|
margin-top: 3.8mm;
|
|
}
|
|
|
|
.project:first-of-type h3 {
|
|
margin-top: 3mm;
|
|
}
|
|
|
|
p {
|
|
margin: 1.7mm 0;
|
|
}
|
|
|
|
a {
|
|
color: #0b5cad;
|
|
text-decoration: none;
|
|
}
|
|
|
|
hr {
|
|
height: 1px;
|
|
margin: 3mm 0;
|
|
border: 0;
|
|
background: var(--rule);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
margin: 2mm 0 3mm;
|
|
border-collapse: collapse;
|
|
font-size: 8.7pt;
|
|
}
|
|
|
|
td,
|
|
th {
|
|
padding: 1mm 1.6mm;
|
|
border-bottom: 1px solid var(--rule);
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
td:first-child,
|
|
th:first-child {
|
|
width: 23mm;
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1.7mm 0;
|
|
padding: 1.5mm 2.2mm;
|
|
border-left: 3px solid var(--accent);
|
|
background: var(--soft);
|
|
color: #334e4a;
|
|
}
|
|
|
|
blockquote p {
|
|
margin: 0.8mm 0;
|
|
}
|
|
|
|
ul {
|
|
margin: 1.4mm 0 2.2mm;
|
|
padding-left: 4.4mm;
|
|
}
|
|
|
|
li {
|
|
margin: 0.75mm 0;
|
|
padding-left: 0.5mm;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 800;
|
|
}
|
|
|
|
code {
|
|
padding: 0.1mm 0.7mm;
|
|
border-radius: 2px;
|
|
background: #f3f4f6;
|
|
color: #1f2937;
|
|
font-family: "JetBrains Mono", "D2Coding", Consolas, monospace;
|
|
font-size: 0.92em;
|
|
}
|
|
|
|
h3 + blockquote {
|
|
margin-top: 1.2mm;
|
|
}
|
|
|
|
blockquote + p,
|
|
blockquote + ul {
|
|
margin-top: 1.6mm;
|
|
}
|
|
|
|
h2,
|
|
h3,
|
|
blockquote,
|
|
table {
|
|
break-after: avoid;
|
|
}
|
|
|
|
li,
|
|
blockquote,
|
|
tr {
|
|
break-inside: avoid;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>강동현 · 백엔드 신입 (성능 / DB)</h1>
|
|
<table><tbody><tr><td></td><td></td></tr><tr><td>Email</td><td>donghyeonka68@gmail.com</td></tr><tr><td>GitHub</td><td><a href="https://github.com/donghyeon-ka">github.com/donghyeon-ka</a></td></tr><tr><td>Blog</td><td><a href="https://velog.io/@donghyeon2">velog.io/@donghyeon2</a></td></tr></tbody></table>
|
|
<hr>
|
|
<h2>Summary</h2>
|
|
<p>DB 기반 백엔드 시스템에서 쿼리 실행 계획, 인덱스 설계, 애플리케이션과 인프라의 책임 경계에 관심을 두고 학습해 온 신입 백엔드 개발자입니다.</p>
|
|
<p>PostgreSQL 피드 조회 튜닝 프로젝트에서 <code>EXPLAIN ANALYZE</code>로 병목을 확인하고, JOIN 구조 / 페이지네이션 흐름 / 인덱스 설계를 바꿔 쿼리 실행 시간을 <strong>1.77 s → 7.66 ms</strong>로 줄였습니다. 이후 Redis 캐시와 Locust 부하 테스트로 개선 경로를 검증했습니다.</p>
|
|
<p>아래 성능 수치는 모두 로컬 실험 또는 단일 인스턴스 부하 테스트 기준입니다. 운영 경험처럼 과장하지 않기 위해 측정 범위를 명시했습니다.</p>
|
|
<hr>
|
|
<h2>Skills</h2>
|
|
<p><strong>Core</strong></p>
|
|
<ul><li>Java 21, Spring Boot 4, Spring Data JPA, PostgreSQL 16, Redis</li></ul>
|
|
<p><strong>Database / Performance</strong></p>
|
|
<ul><li><code>EXPLAIN ANALYZE</code>, 복합 인덱스, 커버링 인덱스, 페이지네이션 쿼리 설계, N+1 회피, p50 / p95 / p99 latency 측정</li></ul>
|
|
<p><strong>Supporting</strong></p>
|
|
<ul><li>Flyway, ArchUnit, Locust, Kubernetes (K3s), Kustomize, Traefik, Vault</li></ul>
|
|
<hr>
|
|
<h2>Projects</h2>
|
|
<section class="project"><h3>feed-postgresql-query-tuning — PostgreSQL 쿼리 최적화</h3><blockquote><p>개인 프로젝트 · 2025.03 ~ 2025.04 · 1 인 · 분석 / 구현 / 검증 <a href="https://github.com/donghyeon-ka/feed-postgresql-query-tuning">github.com/donghyeon-ka/feed-postgresql-query-tuning</a></p></blockquote><p>피드 목록 조회 쿼리를 실행 계획 기준으로 분석하고, 실제 접근 패턴에 맞춰 쿼리 책임과 인덱스 구조를 다시 설계한 프로젝트입니다.</p><ul><li><code>EXPLAIN ANALYZE</code> 기준 피드 목록 조회 쿼리 실행 시간을 <strong>1.77 s → 7.66 ms</strong>로 개선했습니다.</li><li>주요 병목으로 4-table <code>LEFT JOIN</code>에 따른 row 폭증, 사용 가능한 인덱스 부재로 인한 sequential scan, 디스크 기반 외부 정렬(<code>Sort Method: external merge Disk</code>)을 확인했습니다.</li><li>불필요한 <code>LEFT JOIN</code>을 <code>EXISTS</code> 서브쿼리로 바꾸고, 페이지네이션과 상세 로딩 책임을 분리해 실행 시간을 <strong>1.77 s → 0.216 s</strong>로 줄였습니다.</li><li>WHERE 조건과 정렬 키를 함께 고려한 복합 인덱스, 자주 조회되는 컬럼을 포함한 커버링 인덱스를 적용해 <strong>0.216 s → 7.66 ms</strong>까지 줄였습니다.</li><li>공개 피드에는 Redis 2 단계 캐시를 적용하고 private 피드는 캐시를 우회하도록 분리했습니다. 테스트 구간에서 약 <strong>90% cache hit rate</strong>를 관찰했습니다.</li><li>단일 인스턴스 환경에서 Locust 1,000 동시 사용자 시나리오를 실행해 약 <strong>900~1,100 RPS</strong> 구간을 확인했습니다.</li><li>JPA 측면에서는 N+1을 피하고, 기본 LAZY 로딩과 필요한 지점의 명시적 fetch join을 분리했으며, <code>Page</code> 응답의 count 쿼리를 별도로 다뤘습니다.</li></ul><p><code>PostgreSQL</code> <code>EXPLAIN ANALYZE</code> <code>Index design</code> <code>JPA</code> <code>Redis</code> <code>Locust</code> <code>Spring Boot</code></p></section>
|
|
<section class="project"><h3>Project-Auth-Server — Spring Boot 인증 서버의 DB 책임 경계</h3><blockquote><p>개인 프로젝트 · 2025.11 ~ 현재 · 1 인 · 설계 / 구현 / 로컬 검증 <a href="https://github.com/donghyeon-ka/project-auth-server">github.com/donghyeon-ka/project-auth-server</a></p></blockquote><p>Spring Boot 인증 서버에서 도메인 규칙, 영속성 매핑, 트랜잭션 소유권을 분리해 구현한 프로젝트입니다.</p><ul><li>Flyway V1~V5로 PostgreSQL 스키마 변경을 관리하고, <code>auth</code> 스키마 생성 / 사용자 도메인 테이블 / Keycloak provider 컬럼 추가를 단계별로 분리했습니다.</li><li>트랜잭션 소유권을 application use case로 이동시켜 infrastructure adapter가 비즈니스 트랜잭션 범위를 결정하지 않도록 정리했습니다.</li><li>저장된 row를 도메인 객체로 복원하는 과정에서 잘못된 데이터가 발견되면 일반 도메인 검증 실패가 아니라 인프라 무결성 문제로 번역했습니다.</li><li>DB row와 <code>UserEmail</code>, <code>UserName</code>, <code>User</code> 같은 도메인 값 객체를 분리해 JPA entity 관심사 밖에서 invariant를 검증했습니다.</li></ul><p><code>Java 21</code> <code>Spring Boot</code> <code>PostgreSQL</code> <code>JPA</code> <code>Flyway</code> <code>ArchUnit</code></p></section>
|
|
<section class="project"><h3>Project-Infra — 저장소와 배포 책임 분리</h3><blockquote><p>개인 프로젝트 · 2025.11 ~ 현재 · 1 인 · 로컬 / dev 환경 구성 <a href="https://github.com/donghyeon-ka/project-infra">github.com/donghyeon-ka/project-infra</a></p></blockquote><p>auth-server 실행 환경을 K3s 위에 구성하면서 데이터 저장소와 배포 단계의 책임을 분리한 프로젝트입니다.</p><ul><li>애플리케이션 row 데이터는 PostgreSQL, object storage는 MinIO, Docker Registry 저장소는 MinIO S3 backend로 분리했습니다.</li><li>Flyway 마이그레이션 실행을 애플리케이션 시작과 분리해, 스키마 변경이 앱 배포보다 먼저 실행될 수 있도록 구성했습니다.</li><li>외부 image push 인증은 Traefik BasicAuth, 내부 image pull은 Kubernetes <code>imagePullSecret</code>으로 나눠 인증 경계를 분리했습니다.</li></ul><p><code>Kubernetes</code> <code>K3s</code> <code>PostgreSQL</code> <code>MinIO</code> <code>Docker Registry</code> <code>Flyway</code> <code>Kustomize</code></p><hr></section>
|
|
<h2>Links</h2>
|
|
<ul><li><strong>GitHub</strong>: <a href="https://github.com/donghyeon-ka">github.com/donghyeon-ka</a></li><li><strong>메인 프로젝트</strong>: <a href="https://github.com/donghyeon-ka/feed-postgresql-query-tuning">feed-postgresql-query-tuning</a></li><li><strong>인증 서버</strong>: <a href="https://github.com/donghyeon-ka/project-auth-server">project-auth-server</a></li><li><strong>인프라</strong>: <a href="https://github.com/donghyeon-ka/project-infra">project-infra</a></li><li><strong>Blog</strong>: <a href="https://velog.io/@donghyeon2">velog.io/@donghyeon2</a></li></ul>
|
|
</main>
|
|
</body>
|
|
</html>
|