Pinterest Engineering Blog - Medium logoPinterest Engineering Blog - Medium
|Architecture

Piqama: Pinterest Quota Management Ecosystem

2026-02-24
11 min read
0
by Pinterest Engineering

Endigest AI Core Summary

Pinterest's Piqama is a generic quota management ecosystem that handles the full lifecycle of resource quotas across Big Data Processing and Online Services.

  • Piqama manages physical resources (memory, CPU), service resources (QPS, network bandwidth), and application-specific quota units via a centralized portal accessible through REST and Thrift
  • The platform provides a pluggable validation framework, ownership-based authorization for quota updates, and flexible dispatching mechanisms including PinConf or custom dispatchers
  • Piqama clients collect enforcement and usage statistics stored in Apache Iceberg on Amazon S3, enabling auto-rightsizing driven by historical data from Presto and Iceberg
  • For Big Data Processing, Piqama integrates with Apache Yunikorn to manage guaranteed resources, maximum resources, and max concurrent applications per project
  • Rate-limiting quota integration is used for Online Storage Systems, demonstrating the platform's flexibility across both capacity-b
Tags:
#data-governance
#distributed-systems
#engineering
#pinterest
#infrastructure