Technical Product Management Course · by Stanislav Belyaev
EN RU

Shared Lib Blast Radius

6 outgoing · 1 incoming · 7 total connections

Map Detail
Monorepo-Specific MONOREPO-SPECIFIC AMPLIFIED DISTRIBUTED

Shared Lib Blast Radius

Shared Library Blast Radius measures the scope of impact when a shared library or common module is modified in a monorepo. A large blast radius means that a single change can potentially break many downstream consumers, requiring extensive testing and careful rollout. Understanding blast radius helps teams make informed decisions about library boundaries, versioning strategies, and the trade-off between code sharing and coupling.

Number of services affected by a single library change. Unique to monorepo scale.

MONOREPO CONTEXT

Unique to monorepo scale. A single change to a utility function can affect 10–50+ services. Google's Rosie tool (automated LSC — Large-Scale Changes) manages this by splitting changes into reviewable chunks. Without impact analysis, shared library changes are the highest-risk activity in a monorepo.

DISTRIBUTED CONTEXT

AMPLIFIED: A shared library incident while domain experts are in a different TZ means the on-call team lacks context. Blast radius × TZ gap = recovery time measured in shifts, not hours.

Scale Impact
👤 Solo / Pair (1–3)
0.1
👥 Team (4–15)
0.3
🏢 Department (15–100)
0.7
🏛️ Organization (100+)
1

Shared library impact is proportional to consumer count, which grows with org size. A single utility change can affect 10-50+ services at scale.

6
Influences
1
Influenced by

→ Influences

Change Failure Rate (CFR)

A shared utility change affecting 50 services has 50× the blast radius of a single-service change.

Google uses Rosie for automated Large-Scale Changes
Google SRE Book, DORA Research
Distributed: A shared library bug deployed while domain experts are asleep in another TZ has organization-wide impact with no one available who understands the change.
Test Suite Exec Time

Shared library changes trigger testing across all consumers. More affected projects = longer test execution.

Proportional to consumer count
Meta Engineering Blog, Google Testing Blog
Code Review Turnaround

Changes affecting many teams require reviews from many CODEOWNERS. Each reviewer adds latency.

Multiple approval requirement
SmartBear Code Review Study, Google Engineering Practices
Cross-Team Coordination

Larger blast radius = more teams need to be aware and coordinate. Directly proportional.

Linear relationship
Team Topologies, Conway's Law research
Distributed: Larger blast radius + TZ distribution = exponentially more coordination overhead. Each affected team may be in a different TZ.
Incident Frequency

A bug in widely-shared code can cause cascading failures across many services simultaneously.

Single point of failure risk
Google SRE Workbook, Etsy Engineering
PR Size

Atomic changes to shared libs + all consumers create enormous PRs.

Can span dozens of files across services
GitHub Engineering, GitLab Research

← Influenced by

Code Ownership Clarity

Clear boundaries reduce accidental coupling. Teams don't reach into each other's internals.

Module boundaries prevent sprawl
Microsoft Research on Code Ownership, Google Monorepo Study
Metrics map by Stanislav Belyaev · Analysis powered by Anthropic Claude Opus 4.6 · All data validated by human experts