---
id: wiki-2026-0508-sharedarraybuffer-vs-postmessage
title: SharedArrayBuffer vs postMessage 성능 차이
category: 10_Wiki/Topics
status: duplicate
canonical_id: sharedarraybuffer
duplicate_of: "[[SharedArrayBuffer]]"
aliases: []
source_trust_level: A
confidence_score: 0.9
verification_status: redirected
tags: [duplicate, web-workers, performance]
last_reinforced: 2026-05-10
github_commit: pending
---

# SharedArrayBuffer vs postMessage 성능 차이

> **이 문서는 [[SharedArrayBuffer]] 의 중복본입니다.** Canonical 문서로 redirect.

## 핵심 요약 (specialization aspects)
- postMessage: structured clone — 매 large payload 의 매 copy cost (O(n)) + serialize.
- Transferable (ArrayBuffer): zero-copy ownership transfer — 매 sender 가 매 lose access.
- SharedArrayBuffer: 매 true shared memory — 매 Atomics 로 매 sync, 매 zero copy, 매 < 1µs latency.
- 매 1MB payload 기준: postMessage ~5-15ms, SAB read ~0ms (memory-mapped).

## 🔗 Graph
- 부모: [[SharedArrayBuffer]] (canonical)

## 🕓 변경 이력
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | 중복 처리 — canonical 문서로 redirect |
