Cold Stars over the Frozen Lochs: StarRocks × Iceberg at Fresha
summary
Fresha builds a tiered pipeline that keeps recent data in StarRocks for sub‑second dashboards and spills years of history to Iceberg, cutting a P99 query from ~20s on Postgres to <200ms for hot data. Kafka → Flink streams into StarRocks primary‑key tables, Spark writes batch exports into Iceberg, and Airflow routes partitions based on freshness SLA. They implement tiered StarRocks hot / Iceberg cold, use dbt union‑read macro for consistent views, and report the system works but needs storage‑side steering to avoid union complexity.
AI-written summary · about
chapters (15)
- 0:00Introduction and speakers
- 1:15What is Fresha and its data needs
- 3:05Real-time vs historical data separation
- 5:56What is StarRocks and its architecture
- 7:20StarRocks high-level architecture
- 8:25StarRocks Iceberg query handling
- 10:10StarRocks caching and workload distribution
- 12:37Iceberg v3 features and optimizations
- 14:22Project overview and handover
- 14:45Implementation of data streaming house
- 17:39Data tiering between StarRocks and Iceberg
- 20:11Handling late events and data correctness
- 22:59Future vision with streaming storage
- 24:45Closing vision and open table format
- 26:12Q&A session
