c24165b8bc
에이전트 8종(대화형/프로그래머 C·S/디자이너/설계자/기획자/QA/PD/PM)에게 [공통 기본 능력 + 롤별 Specialty] 2층으로 지식을 주입하기 위한 재분류. 문서 내용·포맷은 무수정, 폴더 이동만 (6,372개 문서 수 보존 확인). - Topic_Programming → Domain_Programming (내부 구조 보존) - Topic_Graphic → Domain_Design - Topic_Business → Domain_Product - Topic_General → Domain_General - _Common 신설: Math(구 Topic_Math_Specialty), Reasoning(구 General/From_Thinking & Reasoning), Reasoning_Creativity(구 General/From_창의성), Communication(Poetic_Blog_Writing + From_writing) - 타 도메인의 From_* 폴더는 유지 (출처 표기일 뿐, 이미 도메인에 맞게 분류된 문서) - 빈 폴더 정리 (memory/procedures) - 에이전트→폴더 매핑은 workspace의 .astra/agent-knowledge-map.json (9개 에이전트) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5.4 KiB
5.4 KiB
id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
| id | title | category | status | canonical_id | aliases | duplicate_of | source_trust_level | confidence_score | verification_status | tags | raw_sources | last_reinforced | github_commit | tech_stack | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wiki-2026-0508-big-data | Big Data | 10_Wiki/Topics | verified | self |
|
none | A | 0.9 | applied |
|
2026-05-10 | pending |
|
Big Data
매 한 줄
"매 single-machine 의 fit 의 X · single-pass 의 fit 의 X — 매 distributed compute · columnar storage 의 require". 2003 Google MapReduce 논문 의 origin, Hadoop → Spark → Lakehouse (Iceberg+Delta+Hudi) 의 evolve, 2026 의 single-node DuckDB/Polars 의 "Big Data is dead" 의 movement 의 mainstream.
매 핵심
매 5 V
- Volume: TB-PB scale.
- Velocity: streaming · near-real-time.
- Variety: structured + semi + unstructured.
- Veracity: data quality · trust.
- Value: ROI of analytics.
매 stack 2026
- Storage: object store (S3/GCS) + open table format (Iceberg · Delta · Hudi).
- Compute: Spark · Trino · DuckDB · Polars · Snowflake · BigQuery.
- Orchestration: Airflow · Dagster · Prefect.
- Stream: Kafka · Flink · Kinesis.
- Catalog: Unity · Polaris · Nessie · Glue.
매 응용
- 매 BI 의 dashboard.
- ML training pipeline (feature store).
- Operational analytics (real-time fraud, ad bidding).
💻 패턴
Iceberg table 의 Spark 에서 의 write
from pyspark.sql import SparkSession
spark = SparkSession.builder \
.config("spark.sql.catalog.local", "org.apache.iceberg.spark.SparkCatalog") \
.config("spark.sql.catalog.local.type", "hadoop") \
.config("spark.sql.catalog.local.warehouse", "s3a://lake/warehouse") \
.getOrCreate()
df = spark.read.json("s3a://raw/events/*.json")
df.writeTo("local.events.daily").partitionedBy("date").createOrReplace()
DuckDB: 매 single-node "big data" (laptop 의 100GB)
import duckdb
con = duckdb.connect()
con.sql("""
SELECT user_id, COUNT(*) AS events, SUM(amount) AS revenue
FROM read_parquet('s3://lake/events/2026/*.parquet')
WHERE event_type = 'purchase'
GROUP BY user_id
ORDER BY revenue DESC
LIMIT 100
""").show()
Polars: out-of-core lazy
import polars as pl
df = (
pl.scan_parquet("s3://lake/events/*.parquet")
.filter(pl.col("event_type") == "purchase")
.group_by("user_id")
.agg(pl.len().alias("events"), pl.col("amount").sum().alias("revenue"))
.sort("revenue", descending=True)
.limit(100)
)
print(df.collect(streaming=True))
Flink: streaming aggregation
DataStream<Event> events = env.fromSource(kafkaSource, ...);
events.keyBy(Event::userId)
.window(TumblingEventTimeWindows.of(Time.minutes(5)))
.aggregate(new RevenueAggregator())
.sinkTo(icebergSink);
Iceberg time-travel + schema evolution
-- snapshot 의 query
SELECT * FROM events FOR VERSION AS OF 8723649283746;
SELECT * FROM events FOR TIMESTAMP AS OF '2026-05-09 00:00:00';
-- column add (no rewrite)
ALTER TABLE events ADD COLUMN device_id STRING;
-- partition evolution
ALTER TABLE events ADD PARTITION FIELD bucket(16, user_id);
Spark: dynamic partition pruning + AQE
spark.conf.set("spark.sql.adaptive.enabled", "true")
spark.conf.set("spark.sql.adaptive.coalescePartitions.enabled", "true")
spark.conf.set("spark.sql.adaptive.skewJoin.enabled", "true")
# AQE 의 plan 의 runtime 의 reoptimize
df = spark.sql("""
SELECT u.name, e.event_type, COUNT(*)
FROM events e JOIN users u ON e.user_id = u.id
WHERE e.date >= '2026-05-01'
GROUP BY u.name, e.event_type
""")
매 결정 기준
| 상황 | Stack |
|---|---|
| < 100 GB · single node | DuckDB · Polars |
| 100GB - 10TB batch | Spark + Iceberg |
| > 10 TB / day | Spark/Trino + Iceberg + Snowflake |
| Streaming < 1s latency | Flink + Kafka |
| Ad-hoc SQL | Trino · DuckDB |
| ML training | Spark + Petastorm 또는 Ray Data |
기본값: Iceberg-on-S3 + Spark/DuckDB 의 hybrid — 매 modern lakehouse 의 standard.
🔗 Graph
- 부모: Distributed Systems · Data Engineering
- 변형: Lakehouse · Data Warehouse
- 응용: Apache Ignite
- Adjacent: Append-only log · Stream-Processing-Architectures
🤖 LLM 활용
언제: SQL 의 generate, partitioning strategy 의 advise, schema evolution diff 의 explain, Iceberg 의 table maintenance 의 query 의 draft. 언제 X: 매 production tuning (shuffle partition · executor sizing) — metric-driven 의 require, LLM hint 의 starting point 만.
❌ 안티패턴
- Premature distribution: 매 < 50GB 의 case 의 Spark — DuckDB 의 100x faster.
- Small file problem: Spark 의 1KB parquet 의 millions — compaction 의 require.
- Hive-style partition explosion: 매 high-cardinality column 의 partition (e.g. user_id) — Iceberg bucket transform 의 use.
- Schema-on-read 의 over-rely: governance 의 erode — open table format 의 use.
🧪 검증 / 중복
- Verified (Apache Iceberg/Spark/Flink docs, MotherDuck "Big Data is Dead" 2023, Databricks Lakehouse paper).
- 신뢰도 A.
🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — 5V + 2026 lakehouse stack + DuckDB/Polars/Flink patterns |