Rebuilding Guardian: How Pinte... Note

Rebuilding Guardian: How Pinterest Upgraded Its Real-Time Abuse Platform to Modern Infrastructure…

Pinterest rebuilt its real-time abuse platform, Guardian, to address limitations in its original monolithic architecture. The previous version struggled with scalability, reliability, governance, and high maintenance costs as Pinterest grew. Guardian V2 was redesigned as a modular platform leveraging modern data infrastructure to improve these areas. A core requirement was preserving the fast investigative workflow from detection to operational response.This was achieved by maintaining a unified GSQL V2 interface for defining and operationalizing signals and policies across different backend systems. The data plane was reshaped using stream splitting and pruning to reduce data complexity and improve efficiency. Real-time analytics were rebuilt on StarRocks, a distributed SQL engine optimized for ingestion and query performance.Asynchronous evaluation and downstream processing were moved to FlinkSQL, enabling a unified execution foundation. Historical rewind and replay workflows were rebuilt using Iceberg-backed datasets for better reliability and scalability. This modular approach allows different components to scale independently, enhancing overall platform performance and maintainability. The new architecture supports a broader range of real-time and historical workflows effectively. Guardian V2 now meets Pinterest's growing demands for abuse detection and response.
CdXz5zHNQW_ghxbZdETjL.png