Piper
Piper is Google's centralized, internally operated source-control system for managing a very large shared software repository.
Last updated August 25, 2026
Overview
Piper is a centralized version-control system developed and used inside Google to support software engineering at the scale of the company's monolithic source repository. It is not a consumer-facing commercial brand or an independently marketed software product. Instead, it is an internal engineering platform closely associated with Google's long-running practice of keeping much of its source code in one centrally managed repository. Google initially operated a central codebase using Perforce and developed proprietary caching techniques to make that arrangement workable. As the repository and engineering organization expanded, the scale of the system created requirements that could not be addressed adequately by a conventional single-server deployment. Piper emerged as Google's internally developed response to those requirements. Its purpose was to provide a source-control layer that could support a huge repository, many simultaneous developers, automated systems, code review, builds, testing, and geographically distributed infrastructure. The system is designed around a central repository rather than the fully distributed model associated with Git. Developers work with local views or working copies of files, retrieve changes made by colleagues, and submit modifications to the central system. Changes are subject to code review through Google's Critique tool before they can be committed. This workflow supports Google's preference for trunk-based development, in which most developers work against a shared mainline and branches are used primarily for release management rather than as the default personal workspace. Piper's scale has been described as exceptional. Material published about Google's repository reported that, by 2016, it contained approximately 86 terabytes of data, around two billion lines of code, and about nine million files. Approximately 25,000 developers contributed roughly 16,000 changes per day, while automated systems performed a further 24,000 commit operations. Read activity was measured in the billions of requests per day. These figures illustrate that Piper is primarily an infrastructure system for coordination and scale, rather than a conventional end-user development tool. The platform uses Google's distributed storage infrastructure. Its architecture originally relied on Bigtable and later incorporated Spanner, with data distributed across ten data centers and replicated using the Paxos consensus protocol. This design is intended to provide availability and consistency while allowing the repository to serve Google's globally distributed engineering organization. A major part of the Piper experience is Clients in the Cloud, or CitC. CitC combines a cloud-backed repository with a local FUSE-based filesystem. To a developer, it presents an ordinary working environment in which standard Unix tools can be used, while keeping the local material exceptionally small; published descriptions reported that an average local view could contain fewer than ten local files. File changes are represented through snapshots, making it possible to restore earlier states without requiring developers to create explicit snapshots. The cloud-oriented design also makes it easier to move between computers, share changes, and use Google's automated build and testing systems. Security is managed through broad internal visibility combined with targeted access controls. Most of the codebase was described as visible to Google's developers, while sensitive files were restricted; in 2016, such files were reported to account for less than one percent of the repository. Piper operations are logged, and mechanisms exist to remove accidentally committed files. The system therefore combines centralized control, extensive auditing, code review, and large-scale distributed storage. Public information does not establish Piper as an independently sold product, a standalone company, or a separately listed business.
History
Google has used a central source repository since its early development period. For more than a decade, the company relied on a Perforce installation supplemented by proprietary caching. That arrangement allowed Google to maintain a shared codebase, but the growth of the repository, the number of developers, and the volume of automated operations eventually required a purpose-built architecture. Piper was developed as Google's internal centralized version-control system to address those scaling constraints. The system's design reflects Google's preference for a single, shared repository and a tightly integrated development process. Rather than requiring each developer to maintain a complete independent clone, Piper provides access to a central repository through local working views. Developers can retrieve updates, modify files, and submit changes for review. Commits are gated by Google's Critique review system, connecting source control directly to the organization's engineering governance and quality-control practices. Piper's architecture uses standard Google distributed-storage technologies. The repository was originally associated with Bigtable and later with Spanner, with data replicated across ten data centers through the Paxos protocol. This infrastructure allows the system to operate across Google's global engineering footprint while maintaining a centrally coordinated view of source code. The developer experience was extended through Clients in the Cloud, commonly abbreviated as CitC. CitC presents a cloud-backed filesystem through a local FUSE layer, allowing developers to use familiar tools while avoiding the need to keep a complete repository copy on an individual workstation. Changes are represented as snapshots, which supports restoration and facilitates movement between machines. CitC also connects source access with automated build and test infrastructure. By 2016, public descriptions of Google's repository reported approximately 86 terabytes of data, two billion lines of code, and nine million files. The same account described roughly 25,000 contributing developers, 16,000 daily human changes, 24,000 daily bot commit operations, and billions of daily read requests. These figures positioned Piper as an extreme example of monorepo infrastructure and helped make Google's internal development model a subject of wider software-engineering discussion. Piper supports a security model in which broad internal access is combined with restrictions for sensitive material. Most source code was reported to be visible to developers, while less than one percent of files were access-controlled in the cited 2016 description. Operations are logged, and accidentally committed files can be purged. Public sources describe Piper primarily through Google's engineering publications and books; they do not document a separate commercial business, public customer base, independent corporate ownership, or a standalone product-marketing organization.
- 2020Piper and Critique discussed in Software Engineering at Google
The book Software Engineering at Google presented Critique and related development practices, providing further public context for the review-controlled workflow surrounding Google's internal source management.
- 2016Repository scale documented publicly
A published account described Google's repository as containing approximately 86 terabytes of data, two billion lines of code, and nine million files, with tens of thousands of daily human and automated changes.
- 2012Windows and macOS support reported
Public descriptions state that Piper, originally designed for Linux, supported Microsoft Windows and macOS from October 2012.
- Google's central-repository model predates Piper
Google used a central codebase before Piper and relied for more than a decade on a Perforce installation supplemented by proprietary caching. The increasing scale of the repository led to the development of Piper.
Products and positioning
An internal, centralized source-control and developer-infrastructure platform optimized for Google's exceptionally large monolithic repository, high concurrency, continuous code review, and trunk-based development.
PiperCentralized version-control system
Google's internal source-control platform for a very large centralized repository. Developers work against centrally managed files, retrieve updates, submit changes for review, and commit through an integrated engineering workflow. Piper is designed to handle high request volumes, large numbers of contributors, automated changes, access controls, audit logging, and geographically distributed storage. It is an internal system rather than a generally available commercial product.
Clients in the Cloud (CitC)Cloud-backed developer workspace
CitC provides a developer-facing view of Google's repository through a cloud backend and a local FUSE filesystem. It creates the appearance of a normal local workspace while keeping the local copy very small. File writes are mapped to snapshots, enabling restoration, computer-to-computer mobility, code sharing, and integration with automated builds and tests without requiring explicit synchronization of a full repository.
Critique integrationCode-review workflow
Piper's development workflow requires changes to pass code review through Google's Critique tool before they can be committed. This integration makes review a required control in the source-management process and supports Google's predominantly trunk-based development model.
Flagship businesses
- Piper central repository
- Clients in the Cloud (CitC)
- Integration with Critique code review
Brand decisions
- 2012Expand client-platform supportOther
Piper was originally designed for Linux, while Google's engineering environment also included developers using other operating systems.
What changed. Public documentation states that support for Microsoft Windows and macOS was available from October 2012.
Aftermath. The system could support a broader range of internal developer workstations, although public sources do not provide detailed adoption figures.
- Maintain a centralized monolithic repositoryStrategy
Google's source repository and engineering organization grew beyond the practical limits of the company's earlier Perforce-based deployment and caching approach.
What changed. Google developed and operated Piper as a purpose-built centralized source-control system, retaining a shared repository while adding distributed storage, review controls, and cloud-oriented developer access.
Aftermath. The approach enabled Google to continue trunk-based development at exceptional repository and contributor scale, while making Piper a widely discussed example of monorepo infrastructure.
Sources
Cite this profile: Cite the canonical profile. /brand-wiki/piper · Editorial policy · How profiles are compiled