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

DevFeed: [Rebuilding Guardian: How Pinterest Upgraded Its Real-Time Abuse Platform to Modern Infrastructure...](<https://devfeed.tech/articles/rebuilding-guardian-how-pinterest-upgraded-its-real-time-abuse-platform-to-modern-infrastructure-136560.md>)

Original publisher: [Read original article](<https://medium.com/pinterest-engineering/rebuilding-guardian-how-pinterest-upgraded-its-real-time-abuse-platform-to-modern-infrastructure-56e45ee8f471?source=rss----4c5a5f6279b6---4>)

Author: Pinterest Engineering

Published: 2026-11-16T16:01:03Z

Content type: article

Language: en

Sources: [Pinterest](<https://devfeed.tech/sources/pinterest-engineering-blog-medium.md>)

Topics: [streaming data analytics](<https://devfeed.tech/topics/streaming-data-analytics.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Event-Streaming](<https://devfeed.tech/topics/event-streaming.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [account-takeover](<https://devfeed.tech/tags/account-takeover.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [analyze](<https://devfeed.tech/tags/analyze.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [blog](<https://devfeed.tech/tags/blog.md>), [cases](<https://devfeed.tech/tags/cases.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [content](<https://devfeed.tech/tags/content.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [data](<https://devfeed.tech/tags/data.md>), [data-infrastructure](<https://devfeed.tech/tags/data-infrastructure.md>), [detection](<https://devfeed.tech/tags/detection.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [flink](<https://devfeed.tech/tags/flink.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [modern](<https://devfeed.tech/tags/modern.md>), [pinterest](<https://devfeed.tech/tags/pinterest.md>), [platform](<https://devfeed.tech/tags/platform.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [starrocks](<https://devfeed.tech/tags/starrocks.md>), [trust-and-safety](<https://devfeed.tech/tags/trust-and-safety.md>)

## AI overview

Guardian helps Pinterest teams analyze real-time event data and turn identified patterns into signals, policies, and downstream actions for use cases such as spam and fraud response, account takeover detection, risk monitoring, and unsafe content enforcement. As Pinterest scaled, Guardian V1's monolithic design made it increasingly difficult to optimize interactive queries, continuous event-to-action processing, and backfills. Guardian V2 was rebuilt on modern data infrastructure to address scale, reliability, and compliance needs while preserving the fast workflow from investigation to operational response. The excerpt does not provide further architectural details.

## Source excerpt

Rebuilding Guardian: How Pinterest Upgraded Its Real-Time Abuse Platform to Modern Infrastructure at Scale Authors: Sharon Xie, Sr. Staff Software Engineer | Zhenxiao Luo, Sr Staff Software Engineer |Yi Pan, Principal Software Engineer | Vikram Deshpande, Sr. Engineering Manager Guardian helps Pinterest teams turn real-time event data into meaningful insights and operational outcomes. It enables subject matter experts to analyze real-time event streams, identify evolving patterns, and operationalize those learnings through signals, policies, and downstream workflows. Over the years, Guardian has supported a wide range of use cases, including spam and fraud response, account takeover detection, risk monitoring, and unsafe content enforcement. As Pinterest scaled, however, the original Guardian platform began to reach its limits. To meet growing demands around scale, reliability, and compliance, we rebuilt the system as Guardian V2 on top of modern data infrastructure. In this blog series, we'll share our journey in building the next generation of Guardian, or Guardian V2. In this first part, we'll discuss the challenges we faced, the architecture shift, and the foundational decisions that improved the platform's reliability, scalability and compliance alignment. Background & Motivation Guardian's biggest strength was the fast loop it enabled from investigation to operational response. In the asynchronous pipeline, teams could analyze enriched event data, identify suspicious patterns, convert those insights into actions, and trigger downstream actions quickly. Preserving that workflow was a core requirement for Guardian V2. As Pinterest scaled, however, the previous generation of Guardian presented several challenges: Scalability, scalability became a growing issue. Guardian V1 used a monolithic architecture to support interactive querying, continuous event to action processing, and backfill workflows, which made it increasingly difficult to optimize each path indepen