Pinterest logo

Pinterest Engineering Blog & Tech Articles

Visual discovery platform building innovative recommendation systems, machine learning models, and infrastructure for 300 billion ideas at global scale

447 engineering articles, tutorials, and technical insights from Pinterest's engineering team

Latest Articles

Filter:
Pinterest logo
Pinterest
Intermediate
The article discusses the implementation of a GPU-serving two-tower model for lightweight ads engagement prediction at Pinterest.
Pinterest Engineering
5 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses Pinterest's transition to a next-generation database ingestion framework designed to address the limitations of legacy systems.
Pinterest Engineering
10 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article discusses the re-architecture of the serving stack for next-generation ads lightweight ranking models at Pinterest, moving from a traditional Two-Tower architecture to a more complex G...
Pinterest Engineering
11 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses how Pinterest enhances its ad candidate generation process using behavioral sequence modeling.
Pinterest Engineering
10 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
PinLanding is a multimodal AI pipeline developed by Pinterest to generate shopping collections from billions of products.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses the implementation of LLM-powered relevance assessment at Pinterest Search, focusing on how fine-tuned large language models (LLMs) can enhance search relevance measurement wh...
Pinterest Engineering
9 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses how Pinterest developed a real-time radar system for detecting violative content using AI.
Pinterest Engineering
9 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses how Pinterest utilizes Pinner surveys to enhance the quality of recommended content on its platform.
Pinterest Engineering
11 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses Pinterest's strategic shift towards prioritizing open-source AI models over proprietary ones, highlighting the cost-effectiveness and performance benefits of fine-tuning open-...
Pinterest Engineering
10 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses Pinterest's approach to enhancing its observability tools by integrating AI and the Model Context Protocol (MCP).
Pinterest Engineering
12 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article discusses how Pinterest successfully reduced Android testing build times by over 36% through the implementation of a runtime-aware sharding mechanism.
Pinterest Engineering
15 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article reflects on a decade of AI platform development at Pinterest, detailing the evolution from fragmented machine learning stacks to a unified AI platform that supports various models.
Pinterest logo
Pinterest
Intermediate
The article discusses how Pinterest identifies user journeys to enhance its recommendation system, moving beyond immediate interests to understand users' long-term goals.
Pinterest Engineering
9 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses Pinterest's transition to Moka, a next-generation data processing platform built on AWS Elastic Kubernetes Service (EKS).
Pinterest logo
Pinterest
Intermediate
The article discusses Pinterest's journey in enhancing developer experience through the creation of PinConsole, an Internal Developer Platform built on Backstage.
Pinterest Engineering
15 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article details the challenges faced by Pinterest during the migration of its search infrastructure, Manas, to Kubernetes.
Pinterest Engineering
10 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article discusses Pinterest's transition from a Hadoop-based platform to a Kubernetes-based data processing solution named Moka.
Pinterest Engineering
19 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses how Pinterest scaled its machine learning infrastructure using Ray, extending its capabilities beyond training to include feature development, sampling, and labeling.
Pinterest Engineering
9 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the implementation of Offline Approximate Nearest Neighbors (ANN) at Pinterest to improve ad retrieval efficiency.
Pinterest Engineering
7 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
This article discusses how Pinterest enhances its recommendation system through the TransActV2 model, which leverages over 16,000 lifelong user actions to improve personalization.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the automated migration and scaling of Hadoop™ clusters at Pinterest, focusing on the challenges faced and the implementation of the Hadoop Control Center (HCC) to streamline ...
Pinterest Engineering
12 min read
Has Summary
--
Pinterest logo
Pinterest
Beginner
The article discusses Pinterest's adoption of the docs-as-code approach to improve technical documentation quality and discoverability.
Pinterest Engineering
13 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses Pinterest's innovative approach to healthier personalization through user surveys, emphasizing the importance of balancing engagement and content quality.
Pinterest Engineering
10 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses the modernization of Pinterest's home feed pre-ranking stage, focusing on the introduction of a sophisticated pre-ranking layer known as Lightweight Scoring.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses how Pinterest enhances its machine learning feature iterations through an effective backfill process.
Pinterest Engineering
14 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses the implementation of the Unified Dynamic Framework (UDF) at Pinterest, which has significantly improved the scalability and efficiency of experiment metric computing.
Pinterest Engineering
7 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses the Multi-gate Mixture-of-Experts (MMoE) model architecture and the application of knowledge distillation in enhancing Ads Engagement modeling.
Pinterest Engineering
7 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
Pinterest successfully migrated 3. 7 million lines of code from Flow to TypeScript over eight months, enhancing type safety and developer experience.
Pinterest Engineering
12 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the implementation of a Large Language Model (LLM)-based relevance system for Pinterest Search, detailing its technical design, model architecture, and the results from both o...
Pinterest logo
Pinterest
Intermediate
The article discusses how Pinterest engineers transformed the gift discovery experience during the holiday shopping season by addressing user challenges such as discovery overwhelm and fragmented w...
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the introduction of modules to Pinterest's home feed to enhance user engagement by providing more context and exploration opportunities.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Beginner
At AWS ReInvent 2024, Madhuri Racherla, VP of Infrastructure & SRE at Pinterest, discussed the company's infrastructure advancements aimed at optimizing performance and reducing costs.
Pinterest Engineering
3 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the challenges of understanding metric movements and outlines three approaches used at Pinterest for root-cause analysis (RCA).
Pinterest Engineering
9 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses advancements in embedding-based retrieval at Pinterest's Homefeed, focusing on improvements such as feature crossing, ID embeddings, and serving corpus upgrades.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the establishment of a large-scale learned retrieval system at Pinterest, focusing on the transition from heuristic-based methods to an embedding-based retrieval system.
Pinterest Engineering
7 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
This article discusses how implementing the Lightning Memory-Mapped Database (LMDB) improved memory management and performance for Pinterest's API service.
Pinterest Engineering
6 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article discusses how to simplify Pinterest conversion tracking for developers using two NPM packages: pinterest-conversions-server and pinterest-conversions-client.
Pinterest Engineering
3 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses how Pinterest's Mobile Builds team utilizes Honeycomb(™) to enhance continuous integration (CI) observability and improve build stability.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses Change Data Capture (CDC) at Pinterest, detailing its importance for real-time data processing and the implementation of a Generic CDC solution using Debezium.
Pinterest Engineering
8 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the transition from Apache Hadoop YARN to Apache YuniKorn for resource management in Pinterest's batch processing platform, Monarch, now rebranded as Moka.
Pinterest Engineering
10 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article discusses the implementation of Ray Batch Inference at Pinterest, highlighting its advantages over previous solutions like Apache Spark and Torch Dataloader.
Pinterest Engineering
11 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses the Structured DataStore (SDS), a unified multi-model data management platform developed by Pinterest.
Pinterest Engineering
18 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses Pinterest's implementation of feature caching in their recommender systems using Cachelib, an in-process caching engine developed by Meta Open Source.
Pinterest Engineering
11 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
The article discusses Pinterest's implementation of Tiered Storage for Apache Kafka®️, highlighting a broker-decoupled approach that offloads data to cheaper remote storage.
Pinterest Engineering
24 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article highlights Pinterest's Mentors of the Year for their internship program, showcasing the personal and professional growth experienced by both mentors and interns.
Pinterest Engineering
10 min read
Has Summary
--
Pinterest logo
Pinterest
Advanced
This article discusses the efficiency improvements made to the Goku time series database at Pinterest, focusing on architectural changes, cost reduction strategies, and enhancements in the user exp...
Pinterest Engineering
19 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses enhancements made to Adaptive Bitrate (ABR) video performance at Pinterest, focusing on reducing startup latency and improving user engagement through innovative solutions.
Pinterest Engineering
7 min read
Includes Code
Has Summary
--
Pinterest logo
Pinterest
Intermediate
This article discusses the redesign of Pinterest's ad serving systems, focusing on achieving zero downtime during the transition.
Pinterest Engineering
17 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses the onboarding experience of two Senior Web Engineers, Rebecca Yi and Jordan Cutler, at Pinterest, detailing their structured training program, social integration, and project...
Pinterest Engineering
10 min read
Has Summary
--
Pinterest logo
Pinterest
Intermediate
The article discusses the Notification Event Processor (NEP) developed at Pinterest, which enhances user engagement through a flexible, real-time notification system.
Pinterest Engineering
8 min read
Has Summary
--