Structural Dependency Criticality via PageRank: what stops when a system fails, and how often

PageRank measures how much a system is relied on. It does not say what happens when the system fails. This page answers that question directly with a failure-cascade model: fail one system, then fail every system that has a failed hard dependency, and repeat until nothing changes. The result is the system’s blast radius, counted in systems and in business value.

Blast radius

Display code
s |>
  mutate(name = fct_reorder(name, blast_value_hard + blast_value / 100)) |>
  ggplot(aes(y = name)) +
  geom_col(aes(x = blast_value), fill = "#cde2fb", width = 0.75) +
  geom_col(aes(x = blast_value_hard), fill = "#2a78d6", width = 0.45) +
  geom_vline(xintercept = th$spof_value_share, linetype = "dashed", color = "#444444") +
  annotate("text", x = th$spof_value_share, y = 1.5, hjust = -0.05, size = 3.4,
           label = paste0("SPOF threshold (", percent(th$spof_value_share), ")"), color = "#444444") +
  scale_x_continuous(labels = percent_format(1), limits = c(0, 1.05), expand = expansion(mult = c(0, 0.02))) +
  labs(
    title = "Business value disabled when each system fails",
    subtitle = "Dark bar: hard dependencies only. Light bar: every dependency treated as hard.",
    x = "Share of business value disabled", y = NULL
  )

How to read the plot. Each bar is one system. The dark bar shows the share of business value that stops when that system fails, counting only hard dependencies, where a dependent cannot run without it. The light bar behind it shows the same measure if every dependency were hard. The dashed line marks the 50% threshold above which a system is classed as a systemic single point of failure.

What the plot tells you. 7 systems cross the threshold. The vault and cloud IAM each stop 100% of business value, followed by Kafka_Bus at 90% and Core_Postgres_DB at 80%. Treating every dependency as hard would raise the cache and search systems from 0% to 80% and 75%, which shows how much the hard/soft judgment matters. Every bar assumes no redundancy, so real impacts are lower wherever backups exist.

Display code
s |>
  arrange(desc(blast_value_hard), desc(blast_value), rank_custom) |>
  select(name, tier, rank_custom, blast_n, blast_value, blast_n_hard, blast_value_hard) |>
  gt_house(title = "Blast radius by system", subtitle = "Sorted by business value disabled through hard dependencies") |>
  cols_label(
    name = "Asset", tier = "Tier", rank_custom = "PageRank rank",
    blast_n = "Systems failed (all edges)", blast_value = "Value disabled (all edges)",
    blast_n_hard = "Systems failed (hard edges)", blast_value_hard = "Value disabled (hard edges)"
  ) |>
  fmt_percent(columns = c(blast_value, blast_value_hard), decimals = 0) |>
  tab_spanner("All dependencies hard", columns = c(blast_n, blast_value)) |>
  tab_spanner("Soft dependencies degrade", columns = c(blast_n_hard, blast_value_hard))
Blast radius by system
Sorted by business value disabled through hard dependencies
Asset Tier PageRank rank
All dependencies hard
Soft dependencies degrade
Systems failed (all edges) Value disabled (all edges) Systems failed (hard edges) Value disabled (hard edges)
Secrets_Vault Tier 0: Foundational Core 1 19 100% 19 100%
Cloud_IAM Tier 0: Foundational Core 2 20 100% 20 100%
Kafka_Bus Tier 0: Foundational Core 3 11 95% 10 90%
Core_Postgres_DB Tier 1: Data & Persistence 4 12 80% 12 80%
Fraud_Engine Tier 2: Microservices 12 7 75% 7 75%
Risk_Scoring_Engine Tier 2: Microservices 20 8 75% 8 75%
Ledger_DB Tier 1: Data & Persistence 7 7 65% 7 65%
Payment_Execution_API Tier 2: Microservices 8 4 45% 4 45%
IdP_Auth_Okta Tier 0: Foundational Core 6 6 40% 6 40%
Order_Routing_Svc Tier 2: Microservices 8 4 40% 4 40%
Inventory_Svc Tier 2: Microservices 19 5 40% 5 40%
User_Profile_Svc Tier 2: Microservices 8 4 30% 4 30%
Mobile_API_Gateway Tier 3: Ingress / Perimeter 16 2 15% 2 15%
Web_Client_Gateway Tier 3: Ingress / Perimeter 16 2 15% 2 15%
Settlement_API Tier 2: Microservices 22 0 15% 0 15%
S3_Asset_Store Tier 1: Data & Persistence 13 2 10% 2 10%
Partner_B2B_Gateway Tier 3: Ingress / Perimeter 16 2 10% 2 10%
Invoicing_API Tier 2: Microservices 22 0 5% 0 5%
KYC_Verification_API Tier 2: Microservices 22 0 5% 0 5%
Redis_Session_Cache Tier 1: Data & Persistence 5 12 80% 0 0%
Elastic_Search Tier 1: Data & Persistence 11 9 75% 0 0%
Notification_Gateway Tier 2: Microservices 21 1 5% 0 0%
Ingress_WAF_Gateway Tier 3: Ingress / Perimeter 14 1 0% 1 0%
Root_DNS Tier 0: Foundational Core 14 1 0% 1 0%
Edge_Cloudflare_CDN Tier 3: Ingress / Perimeter 22 0 0% 0 0%

How to read the table. Each row is one system, sorted by the share of business value its failure stops. The first pair of result columns assumes every dependency is hard; the second pair lets soft dependencies degrade gracefully, so only hard links spread the failure. “Systems failed” counts the other systems that stop, and “value disabled” is the business value they carry, including the failed system’s own. PageRank rank is shown for comparison.

What the table tells you. With every dependency hard, the vault stops 19 of the other 24 systems and cloud IAM stops 20. The table also shows where PageRank misleads. The risk-scoring engine ranks 20 by PageRank, yet its failure stops 75% of business value, because the payment, ordering and gateway systems sit on top of it. The session cache ranks 5 but stops nothing once its soft links degrade.

The cascade code is in R/03_cascade.R (simulate_cascade()). The tests check that, with every edge hard, the vault takes down 19 systems and cloud IAM 20, and that the cascade matches igraph’s reachability count for every system.

With full redundancy: dominators

The cascade above is pessimistic: any failed hard dependency stops the dependent. The opposite assumption is that a system keeps running as long as any supply path from the foundation layer still reaches it, as if every dependency were redundant. Under that assumption, a system is still a single point of failure for another if every supply path to the second passes through the first. In graph terms, the first system dominates the second.

Display code
bind_rows(
  res$dominators |> mutate(map = "v1 (original)"),
  res$dominators_v2 |> mutate(map = "v2 (with DNS, vault–IAM cycle)")
) |>
  filter(dominates_n > 0) |>
  select(map, name, dominates_n, dominates_value, dominated_assets) |>
  gt_house(title = "Systems that remain single points of failure even with full redundancy",
           subtitle = "Dominator analysis on the supply graph, from a virtual root feeding every foundation system") |>
  cols_label(map = "Map", name = "Dominating system", dominates_n = "Systems dominated",
             dominates_value = "Business value dominated", dominated_assets = "Systems dominated") |>
  fmt_percent(columns = dominates_value, decimals = 0)
Systems that remain single points of failure even with full redundancy
Dominator analysis on the supply graph, from a virtual root feeding every foundation system
Map Dominating system Systems dominated Business value dominated Systems dominated
v1 (original) Cloud_IAM 2 0% S3_Asset_Store, Elastic_Search
v1 (original) Secrets_Vault 1 0% Redis_Session_Cache
v2 (with DNS, vault–IAM cycle) Root_DNS 24 100% Cloud_IAM, IdP_Auth_Okta, Secrets_Vault, Kafka_Bus, Core_Postgres_DB, Redis_Session_Cache, S3_Asset_Store, Ledger_DB, Elastic_Search, Payment_Execution_API, Order_Routing_Svc, Fraud_Engine, Settlement_API, User_Profile_Svc, Notification_Gateway, Invoicing_API, KYC_Verification_API, Risk_Scoring_Engine, Inventory_Svc, Edge_Cloudflare_CDN, Ingress_WAF_Gateway, Web_Client_Gateway, Mobile_API_Gateway, Partner_B2B_Gateway

How to read the table. Each row is a system that would remain a single point of failure even if every other dependency had a backup. “Systems dominated” counts the systems that would lose all supply if this one failed, and “business value dominated” is the share of business value those systems carry. The last column names them. The first rows use the original map, and the last row uses the more complete v2 map.

What the table tells you. On the original map, no system dominates any revenue-earning system, so with full redundancy no single failure would stop the business. The vault and IAM dominate only data stores whose sole dependency they are. On the v2 map, Root_DNS dominates all 24 other systems, because every supply path ends at it. A real estate lies between this optimistic view and the pessimistic cascade, depending on where backups actually exist.

Expected annual loss (Monte Carlo)

A board allocates budget against expected loss, which needs a likelihood as well as an impact. Each system is given an illustrative annual probability of a disabling outage, by asset type (Data & Topology). The simulation runs 10,000 years (seed 20260730). In each year, every system fails independently with its probability, and the year’s loss is the business value inside the union of the hard-edge cascades.

Display code
mc$by_asset |>
  left_join(select(s, name, tier, rank_custom), by = "name") |>
  arrange(desc(expected_value_lost)) |>
  slice_head(n = 12) |>
  select(name, tier, rank_custom, annual_failure_prob, blast_value_hard, expected_value_lost, mc_value_lost) |>
  gt_house(title = "Expected annual business value disrupted, by initiating system",
           subtitle = "Top 12; probability × value disabled, with the Monte Carlo estimate as a check") |>
  cols_label(name = "Asset", tier = "Tier", rank_custom = "PageRank rank",
             annual_failure_prob = "Annual failure probability", blast_value_hard = "Value disabled per failure",
             expected_value_lost = "Expected per year", mc_value_lost = "Monte Carlo per year") |>
  fmt_percent(columns = c(annual_failure_prob, blast_value_hard), decimals = 0) |>
  fmt_percent(columns = c(expected_value_lost, mc_value_lost), decimals = 1)
Expected annual business value disrupted, by initiating system
Top 12; probability × value disabled, with the Monte Carlo estimate as a check
Asset Tier PageRank rank Annual failure probability Value disabled per failure Expected per year Monte Carlo per year
Fraud_Engine Tier 2: Microservices 12 10% 75% 7.5% 8.0%
Risk_Scoring_Engine Tier 2: Microservices 20 10% 75% 7.5% 7.6%
Kafka_Bus Tier 0: Foundational Core 3 5% 90% 4.5% 4.2%
Payment_Execution_API Tier 2: Microservices 8 10% 45% 4.5% 4.3%
Order_Routing_Svc Tier 2: Microservices 8 10% 40% 4.0% 4.1%
Inventory_Svc Tier 2: Microservices 19 10% 40% 4.0% 3.8%
User_Profile_Svc Tier 2: Microservices 8 10% 30% 3.0% 3.2%
Core_Postgres_DB Tier 1: Data & Persistence 4 3% 80% 2.4% 2.4%
Cloud_IAM Tier 0: Foundational Core 2 2% 100% 2.0% 1.9%
Secrets_Vault Tier 0: Foundational Core 1 2% 100% 2.0% 1.9%
Ledger_DB Tier 1: Data & Persistence 7 3% 65% 1.9% 1.9%
Settlement_API Tier 2: Microservices 22 10% 15% 1.5% 1.6%

How to read the table. Each row is one of the twelve systems whose failures disrupt the most business value per year on average. The annual failure probability is the assumed chance of a disabling outage, and the value disabled per failure comes from the cascade above. Their product is the expected share of business value disrupted per year. The Monte Carlo column repeats that estimate from 10,000 simulated years as a check.

What the table tells you. Fraud_Engine and Risk_Scoring_Engine lead, at 7.5% a year each, because they combine a large blast radius with the higher failure rate assumed for application services. The vault and IAM stop everything when they fail, but they are assumed to fail less often, so they rank lower. The calculated and simulated columns agree closely. The ranking rests on illustrative failure probabilities: it shows how likelihood changes priorities, not real expected losses.

Display code
tibble(loss = mc$year_loss) |>
  ggplot(aes(loss)) +
  geom_histogram(binwidth = 0.05, boundary = 0, fill = "#2a78d6", color = "white") +
  scale_x_continuous(labels = percent_format(1)) +
  scale_y_continuous(labels = comma) +
  labs(
    title = "Simulated years by share of business value disrupted",
    subtitle = paste0(comma(mc$n_years), " simulated years; overlapping cascades in the same year are counted once"),
    x = "Share of business value disrupted at least once in the year", y = "Years"
  )

How to read the plot. Each bar counts simulated years by the share of business value that was stopped at some point during the year, in steps of 5%. The tall bar at the far left counts years with no disabling outage. A system that is hit twice in one year is counted once, and outage length is not modeled, so a one-hour outage and a one-week outage count the same.

What the plot tells you. In 28% of simulated years nothing fails, but in 38% the year’s outages together stop at least 50% of business value at some point, and in 4% they stop everything. These frequencies follow directly from the illustrative, deliberately round failure probabilities. The chart demonstrates the method; real incident data would turn it into a defensible estimate of how often major disruptions occur.

Centrality redistribution after removal (not a failure model)

The original study removed a system from the graph, recomputed PageRank, and called the change “stress shifting onto surviving systems”. That is not what happens in a real outage. When the vault fails, its dependents fail with it; they do not hand their load to IAM. The calculation is kept here as a sensitivity measure, described accurately as centrality redistribution.

For each system \(i\), the system is deleted from the graph, PageRank is recomputed on the 24 survivors, and the result is compared with the baseline scores renormalized over the same survivors. The Rank Distortion Index is

\[ \text{RDI}(i) = \sqrt{\sum_{j \neq i} \left( \tilde{p}^*_{\text{baseline}}(j) - p^*_{-i}(j) \right)^2}, \qquad \tilde{p}^*_{\text{baseline}}(j) = \frac{p^*_{\text{baseline}}(j)}{\sum_{k \neq i} p^*_{\text{baseline}}(k)} . \]

Display code
rdi |>
  select(shock_target, tier, p_custom, rdi, top_gainer, top_gain) |>
  gt_house(title = "Rank Distortion Index for every system",
           subtitle = "Vertex removed, PageRank recomputed, compared with the survivor-renormalized baseline") |>
  cols_label(shock_target = "System removed", tier = "Tier", p_custom = "Baseline PageRank",
             rdi = "RDI", top_gainer = "Largest gainer", top_gain = "Gain (pp)") |>
  fmt_percent(columns = p_custom, decimals = 2) |>
  fmt_number(columns = rdi, decimals = 3) |>
  fmt(columns = top_gain, fns = \(x) number(100 * x, accuracy = 0.01)) |>
  sub_missing(missing_text = "–")
Rank Distortion Index for every system
Vertex removed, PageRank recomputed, compared with the survivor-renormalized baseline
System removed Tier Baseline PageRank RDI Largest gainer Gain (pp)
Secrets_Vault Tier 0: Foundational Core 15.27% 0.069 Cloud_IAM 6.68
Cloud_IAM Tier 0: Foundational Core 13.79% 0.057 Secrets_Vault 5.55
Redis_Session_Cache Tier 1: Data & Persistence 4.95% 0.038 Kafka_Bus 1.23
Elastic_Search Tier 1: Data & Persistence 3.24% 0.028 Secrets_Vault 1.04
Kafka_Bus Tier 0: Foundational Core 5.45% 0.026 Redis_Session_Cache 1.36
S3_Asset_Store Tier 1: Data & Persistence 2.88% 0.024 Secrets_Vault 0.74
Payment_Execution_API Tier 2: Microservices 3.30% 0.019 IdP_Auth_Okta 0.99
Order_Routing_Svc Tier 2: Microservices 3.30% 0.019 IdP_Auth_Okta 1.06
Core_Postgres_DB Tier 1: Data & Persistence 5.20% 0.018 Redis_Session_Cache 0.73
Ingress_WAF_Gateway Tier 3: Ingress / Perimeter 2.62% 0.018 Root_DNS 1.00
Notification_Gateway Tier 2: Microservices 2.36% 0.017 Ledger_DB 0.38
Inventory_Svc Tier 2: Microservices 2.54% 0.015 Kafka_Bus 0.41
Ledger_DB Tier 1: Data & Persistence 3.58% 0.015 Kafka_Bus 0.67
Fraud_Engine Tier 2: Microservices 3.24% 0.014 Ledger_DB 0.36
User_Profile_Svc Tier 2: Microservices 3.30% 0.013 Payment_Execution_API 0.43
Web_Client_Gateway Tier 3: Ingress / Perimeter 2.58% 0.013 Mobile_API_Gateway 0.46
Edge_Cloudflare_CDN Tier 3: Ingress / Perimeter 1.84% 0.012 Secrets_Vault 0.40
Mobile_API_Gateway Tier 3: Ingress / Perimeter 2.58% 0.012 Web_Client_Gateway 0.45
Partner_B2B_Gateway Tier 3: Ingress / Perimeter 2.58% 0.012 Web_Client_Gateway 0.47
Risk_Scoring_Engine Tier 2: Microservices 2.53% 0.011 Kafka_Bus 0.36
IdP_Auth_Okta Tier 0: Foundational Core 4.73% 0.011 Payment_Execution_API 0.49
Invoicing_API Tier 2: Microservices 1.84% 0.009 Core_Postgres_DB 0.18
Settlement_API Tier 2: Microservices 1.84% 0.009 Core_Postgres_DB 0.14
Root_DNS Tier 0: Foundational Core 2.62% 0.009 Ingress_WAF_Gateway 0.71
KYC_Verification_API Tier 2: Microservices 1.84% 0.009 Kafka_Bus 0.14

How to read the table. Each row is one system removed from the map. Baseline PageRank is its score before removal. The rank distortion index (RDI) measures how much the remaining systems’ scores move when PageRank is recalculated without it: 0 means no change, and larger values mean more reshuffling. The last two columns name the system that gains the most share and how many percentage points it gains.

What the table tells you. Removing the vault reshuffles the scores most (RDI 0.069), followed by Cloud_IAM (0.057). Half of all removals have an RDI below 0.015. This measures how much the ranking leans on each system; it is not a failure simulation. In a real outage, the systems that depended on the removed one would stop rather than pass their importance to others, so treat these values as a sensitivity check only.

Display code
vault_ko |>
  slice_max(abs(delta_score), n = 10) |>
  mutate(name = fct_reorder(name, delta_score), direction = if_else(delta_score > 0, "Gains share", "Loses share")) |>
  ggplot(aes(delta_score * 100, name, fill = direction)) +
  geom_col(width = 0.7) +
  geom_vline(xintercept = 0, color = "#444444") +
  scale_fill_manual(values = c("Gains share" = "#2a78d6", "Loses share" = "#eb6834"), name = NULL) +
  labs(
    title = "Centrality redistribution after removing Secrets_Vault (not a failure cascade)",
    subtitle = "Change in PageRank share against the survivor-renormalized baseline",
    x = "Change in share (percentage points)", y = NULL
  )

How to read the plot. Each bar is one of the ten systems whose PageRank share changes most when the vault is removed from the map. Bars to the right of the center line gain share, and bars to the left lose share. Changes are in percentage points of PageRank, measured against the original scores rescaled so that the remaining systems again add up to 100%.

What the plot tells you. Cloud_IAM gains 6.68 pp, while almost every other system loses a little. The shift is mechanical: systems that depended on both the vault and IAM now send their whole share to IAM. It does not mean that load or risk moves to IAM during a real vault outage, when most of IAM’s dependents would be down as well (see Blast radius).