/ https://42jerrykim.github.io/ _index.md
Avatar

42JerryKim

42는 'The Hitchhiker's Guide to the Galaxy'라는 SF 소설에서 삶, 우주, 그리고 모든 것에 대한 궁극적인 질문에 대한 해답이다.

  1. Home
  2. Collections
  3. Search
  4. Categories
  5. Tags
  6. Archives
    1. Dark Mode

Categories

Algorithm (359) Vocabulary (120) English (111) BOJ (89) Graph (48) Movie (46) Math (27) Design Pattern (25) Geometry (23) CSharp (22)

Tags

Best-Practices (902) Implementation(구현) (860) Documentation(문서화) (810) Testing(테스트) (790) Code-Quality(코드품질) (770) Optimization(최적화) (739) Performance(성능) (689) Debugging(디버깅) (623) C++ (622) Guide(가이드) (619) Tutorial(튜토리얼) (580) Reference(참고) (560) Edge-Cases(엣지케이스) (548) Pitfalls(함정) (519) Comparison(비교) (517) Data-Structures(자료구조) (483) Refactoring(리팩토링) (477) Technology(기술) (476) Clean-Code(클린코드) (474) Deep-Dive (466)

Archives

2026 434
2025 421
2024 177
2023 24
2022 79
More
Featured image of post [Concurrency Patterns] 11. 공유 회피
Design Patterns Concurrency Patterns

[Concurrency Patterns] 11. 공유 회피

공유 상태를 애초에 없애는 전략을 다룹니다. Immutable 패턴, Copy-on-Write, thread_local로 공유를 회피하고, SPSC Lock-Free 큐를 직접 구현합니다. 메모리 회수 심화는 13장에서 이어집니다.

6월 21, 2026
14 minute read
Featured image of post [Concurrency Patterns] 10. 이벤트 아키텍처 II: Proactor와 Half-Sync/Half-Async
Design Patterns Concurrency Patterns

[Concurrency Patterns] 10. 이벤트 아키텍처 II: Proactor와 Half-Sync/Half-Async

비동기 I/O(Proactor), 멀티스레드 이벤트 처리, 동기/비동기 경계를 관리하는 Half-Sync/Half-Async 패턴을 학습합니다. io_uring·IOCP 비교와 이벤트 루프의 블로킹 함정도 함께 다룹니다.

6월 20, 2026
11 minute read
Featured image of post [Concurrency Patterns] 09. 이벤트 아키텍처 I: Reactor
Design Patterns Concurrency Patterns

[Concurrency Patterns] 09. 이벤트 아키텍처 I: Reactor

단일 스레드에서 여러 이벤트 소스를 효율적으로 처리하는 Reactor 패턴을 학습합니다. select/poll/epoll의 차이를 비교하고, 컴파일 가능한 poll() 기반 이벤트 루프를 직접 구현·검증하며 Windows IOCP와도 비교합니다.

6월 19, 2026
10 minute read
Featured image of post [Concurrency Patterns] 08. 비동기 객체 (Active Object)
Design Patterns Concurrency Patterns

[Concurrency Patterns] 08. 비동기 객체 (Active Object)

스스로 스레드를 가지고 메서드 호출을 큐로 받아 순서대로 처리하는 Active Object 패턴을 구현합니다. Actor 모델과의 차이, 우선순위 큐, Thread Pool·Future와의 하이브리드 구조도 다룹니다.

6월 18, 2026
12 minute read
Featured image of post [Concurrency Patterns] 07. 실행 관리 II: Future와 Promise
Design Patterns Concurrency Patterns

[Concurrency Patterns] 07. 실행 관리 II: Future와 Promise

std::future, std::promise, std::async, std::packaged_task로 비동기 작업의 결과와 예외를 안전하게 전달하는 법을 다룹니다. launch policy의 함정과 Thread Pool 결합 패턴도 포함합니다.

6월 17, 2026
11 minute read
Featured image of post [Concurrency Patterns] 06. 실행 관리 I: Thread Pool
Design Patterns Concurrency Patterns

[Concurrency Patterns] 06. 실행 관리 I: Thread Pool

스레드 풀, 작업 큐, Work Stealing 알고리즘을 std::thread와 mutex/condition_variable만으로 직접 구현합니다. 백프레셔가 있는 스레드 풀, 풀 크기 결정 기준, 실전 선택 가이드까지 다룹니다.

6월 16, 2026
9 minute read
Featured image of post [Concurrency Patterns] 05. 읽기 최적화와 지연 초기화
Design Patterns Concurrency Patterns

[Concurrency Patterns] 05. 읽기 최적화와 지연 초기화

shared_mutex로 읽기/쓰기 락을 분리하고, DCLP(Double-Checked Locking)의 역사적 함정과 C++11 이후 올바른 구현, call_once를 통한 안전한 지연 초기화까지 실전 코드로 학습합니다.

6월 15, 2026
9 minute read
Featured image of post [Concurrency Patterns] 04. 데이터 흐름: Producer-Consumer
Design Patterns Concurrency Patterns

[Concurrency Patterns] 04. 데이터 흐름: Producer-Consumer

Bounded Buffer, Unbounded Queue, Backpressure 메커니즘을 통해 Producer-Consumer 패턴의 확장성과 트레이드오프를 학습합니다. 다중 프로듀서/컨슈머 구조와 lock contention 최적화도 다룹니다.

6월 14, 2026
9 minute read
Featured image of post [Concurrency Patterns] 03. 대기와 조정
Design Patterns Concurrency Patterns

[Concurrency Patterns] 03. 대기와 조정

Monitor Object, Guarded Suspension, Balking 패턴을 condition_variable로 구현합니다. spurious wakeup과 lost wakeup을 재현·검증하고, std::latch/barrier/semaphore와의 관계도 비교합니다.

6월 13, 2026
13 minute read
Featured image of post [Concurrency Patterns] 02. 락 관용구
Design Patterns Concurrency Patterns

[Concurrency Patterns] 02. 락 관용구

RAII 기반 Scoped Locking, Strategized Locking, Thread-Safe Interface 패턴을 구현하고, 자기 데드락과 인터페이스 위반을 코드로 재현 후 고치는 장입니다. hierarchical mutex로 락 순서 위반도 실시간 검출합니다.

6월 12, 2026
13 minute read
1 16 17 18 19 20 21 22 23 24 118
© 2018 - 2026 42JerryKim
Built with Hugo
Theme Stack designed by Jimmy