
Pinterest Engineering · 12 min readBackend & APIs
Rebuilding Guardian: How Pinterest Upgraded Its Real-Time Abuse Platform to Modern Infrastructure…
Guardian V2 replaces Pinterest’s monolithic abuse platform with a modular architecture that separates analytics, continuous evaluation, and replay pipelines. The redesign uses GSQL V2, stream splitting, StarRocks, FlinkSQL, and Iceberg to improve scalability, reliability, and compliance while preserving a unified query‑to‑action workflow.
- GSQL V2 maps queries to StarRocks or FlinkSQL via a lightweight Java translator.
- Stream splitting reduces column sparsity from ~20K to ~K, cutting storage and processing costs.
- Guardian V2’s modular paths enable independent scaling of analytics, real‑time evaluation, and historical replay.