Structural Dependency Criticality via PageRank: dependency, business-weighted and exposure scores against simple baselines

This page reports three PageRank-based scores for every system and compares them with two simpler baselines. All results use the v1 dependency map and \(\alpha =\) 0.85.

All scores

Display code
s |>
  select(rank_custom, name, tier, p_custom, p_business, p_reverse, in_degree, blast_n) |>
  gt_house(
    title = "Criticality scores for all systems",
    subtitle = "Sorted by PageRank; tied systems share the lower rank"
  ) |>
  cols_label(
    rank_custom = "Rank", name = "Asset", tier = "Tier",
    p_custom = "PageRank", p_business = "Business-weighted PageRank",
    p_reverse = "Reverse PageRank (exposure)", in_degree = "Direct dependents",
    blast_n = "All dependents (blast radius)"
  ) |>
  fmt_percent(columns = c(p_custom, p_business, p_reverse), decimals = 2) |>
  data_color(columns = p_custom, palette = c("#ffffff", "#2a78d6"))
Criticality scores for all systems
Sorted by PageRank; tied systems share the lower rank
Rank Asset Tier PageRank Business-weighted PageRank Reverse PageRank (exposure) Direct dependents All dependents (blast radius)
1 Secrets_Vault Tier 0: Foundational Core 15.27% 13.28% 1.47% 9 19
2 Cloud_IAM Tier 0: Foundational Core 13.79% 8.79% 1.47% 6 20
3 Kafka_Bus Tier 0: Foundational Core 5.45% 6.66% 1.82% 5 11
4 Core_Postgres_DB Tier 1: Data & Persistence 5.20% 3.75% 1.82% 5 12
5 Redis_Session_Cache Tier 1: Data & Persistence 4.95% 2.26% 1.61% 4 12
6 IdP_Auth_Okta Tier 0: Foundational Core 4.73% 4.99% 1.47% 4 6
7 Ledger_DB Tier 1: Data & Persistence 3.58% 4.34% 1.82% 3 7
8 Order_Routing_Svc Tier 2: Microservices 3.30% 8.39% 6.17% 2 4
8 Payment_Execution_API Tier 2: Microservices 3.30% 10.29% 4.60% 2 4
8 User_Profile_Svc Tier 2: Microservices 3.30% 3.23% 2.65% 2 4
11 Elastic_Search Tier 1: Data & Persistence 3.24% 1.08% 1.68% 2 9
12 Fraud_Engine Tier 2: Microservices 3.24% 3.97% 5.08% 2 7
13 S3_Asset_Store Tier 1: Data & Persistence 2.88% 1.08% 1.68% 2 2
14 Ingress_WAF_Gateway Tier 3: Ingress / Perimeter 2.62% 0.00% 15.72% 1 1
14 Root_DNS Tier 0: Foundational Core 2.62% 0.00% 1.47% 1 1
16 Mobile_API_Gateway Tier 3: Ingress / Perimeter 2.58% 5.70% 4.86% 1 2
16 Partner_B2B_Gateway Tier 3: Ingress / Perimeter 2.58% 3.80% 6.36% 1 2
16 Web_Client_Gateway Tier 3: Ingress / Perimeter 2.58% 5.70% 5.53% 1 2
19 Inventory_Svc Tier 2: Microservices 2.54% 1.78% 2.26% 1 5
20 Risk_Scoring_Engine Tier 2: Microservices 2.53% 0.84% 2.64% 1 8
21 Notification_Gateway Tier 2: Microservices 2.36% 0.54% 2.12% 1 1
22 Edge_Cloudflare_CDN Tier 3: Ingress / Perimeter 1.84% 0.00% 16.09% 0 0
22 Invoicing_API Tier 2: Microservices 1.84% 1.90% 4.51% 0 0
22 KYC_Verification_API Tier 2: Microservices 1.84% 1.90% 2.64% 0 0
22 Settlement_API Tier 2: Microservices 1.84% 5.70% 2.44% 0 0

How to read the table. Each row is one system, sorted by PageRank with the most relied-on first. The three percentage columns are scores that each add up to 100% across all systems: plain PageRank, PageRank started from the revenue-earning systems, and PageRank on the reversed map, which measures exposure. The last two columns count the systems that depend on it directly, and directly or indirectly. Tied systems share a rank.

What the table tells you. The vault leads on both dependency measures, at 15.27% and 13.28%, with cloud IAM close behind on plain PageRank. Exposure tells the opposite story: the CDN and firewall, near the bottom of the PageRank list, score highest. 4 groups of systems tie exactly because their dependency structures are identical. All scores are relative shares, so every one would fall if more systems were added to the map.

PageRank against simple baselines

Display code
tibble(
  Baseline = c("Direct dependents (in-degree)", "All dependents (blast radius)",
               "Business value disabled (hard-edge cascade)", "Business-weighted PageRank",
               "Reverse PageRank (exposure)"),
  rho = c(rho(s$in_degree), rho(s$blast_n), rho(s$blast_value_hard), rho(s$p_business), rho(s$p_reverse))
) |>
  gt_house(title = "How closely PageRank tracks other measures", subtitle = "Spearman rank correlation with PageRank across all systems") |>
  cols_label(rho = "Spearman ρ") |>
  fmt_number(columns = rho, decimals = 2)
How closely PageRank tracks other measures
Spearman rank correlation with PageRank across all systems
Baseline Spearman ρ
Direct dependents (in-degree) 0.98
All dependents (blast radius) 0.84
Business value disabled (hard-edge cascade) 0.57
Business-weighted PageRank 0.54
Reverse PageRank (exposure) −0.53

How to read the table. Each row compares PageRank with one other way of ranking the systems. Spearman ρ measures how similar two rankings are: 1 means the same order, 0 means no relationship, and a negative value means the order is roughly reversed. The first three rows are simple counts of dependents and the business value a failure disables; the last two are the other PageRank variants on this page.

What the table tells you. PageRank orders the systems almost exactly as a simple count of direct dependents does (ρ = 0.98), so here it adds little. It agrees less with business value disabled in a cascade (ρ = 0.57), because PageRank splits a system’s importance among its dependencies, while a cascade stops a system if any one hard dependency fails. Exposure tends to run the other way (ρ = -0.53): the most relied-on systems are among the least exposed.

6 systems move three or more places between the two rankings: Elastic_Search (PageRank rank 11, in-degree rank 8), Fraud_Engine (PageRank rank 12, in-degree rank 8), S3_Asset_Store (PageRank rank 13, in-degree rank 8), Inventory_Svc (PageRank rank 19, in-degree rank 14), Risk_Scoring_Engine (PageRank rank 20, in-degree rank 14), and Notification_Gateway (PageRank rank 21, in-degree rank 14). None of these moves changes which systems sit at the top. The weaker link to cascade impact is why the Failure Cascades page names single points of failure that PageRank ranks low.

Dependency criticality and exposure

Display code
label_set <- s |> filter(rank_custom <= 4 | rank_reverse <= 4)
s |>
  ggplot(aes(p_custom, p_reverse, color = tier, shape = tier)) +
  geom_point(size = 3.5, stroke = 0.5) +
  ggrepel::geom_text_repel(data = label_set, aes(label = name), size = 3.3, color = "#222222",
                           min.segment.length = 0, seed = 1, box.padding = 0.4) +
  scale_color_manual(values = tier_colors, name = NULL) +
  scale_shape_manual(values = tier_shapes, name = NULL) +
  scale_x_continuous(labels = percent_format(1)) +
  scale_y_continuous(labels = percent_format(1)) +
  guides(color = guide_legend(nrow = 2), shape = guide_legend(nrow = 2)) +
  labs(
    title = "Relied on vs. exposed: two different questions",
    subtitle = "PageRank on the dependency map (x) and on the reversed map (y)",
    x = "PageRank: how much the system is relied on",
    y = "Reverse PageRank: how much sits behind it"
  )

How to read the plot. Each point is a system, with color and shape showing its tier. Further right means more of the estate depends on the system. Higher up means more of the estate sits behind it, so an outage or an intruder there would reach more. Both axes are PageRank shares: the first on the dependency map, the second on the same map with every arrow reversed. Only the highest-scoring systems on either axis are labeled.

What the plot tells you. No system scores high on both axes. The vault and cloud IAM sit far to the right but near the bottom, while Edge_Cloudflare_CDN and Ingress_WAF_Gateway sit at the top left, at 16.09% and 15.72%. These are two different risks: losing a shared core system, and a failure or attack at the front door that every customer request passes through. A resilience review needs the first view; a security review also needs the second.

Business-weighted PageRank

Display code
s |>
  mutate(name = fct_reorder(name, p_business)) |>
  pivot_longer(c(p_custom, p_business), names_to = "score", values_to = "value") |>
  mutate(score = recode(score, p_custom = "PageRank (uniform restart)",
                        p_business = "Business-weighted PageRank")) |>
  ggplot(aes(value, name)) +
  geom_line(aes(group = name), color = "#bbbbbb", linewidth = 1) +
  geom_point(aes(color = score), size = 3) +
  scale_color_manual(values = c("PageRank (uniform restart)" = "#888888",
                                "Business-weighted PageRank" = "#2a78d6"), name = NULL) +
  scale_x_continuous(labels = percent_format(1)) +
  labs(
    title = "Starting the walk at the revenue-earning systems",
    subtitle = "Systems sorted by business-weighted PageRank",
    x = "Score", y = NULL
  )

How to read the plot. Each row is a system, sorted by business-weighted PageRank. The grey dot is its plain PageRank, where every system starts the random walk equally often. The blue dot is its score when the walk starts only at the revenue-earning systems, in proportion to their business value. The line between the two dots shows how far the score moves once business value is taken into account.

What the plot tells you. The vault stays first, but the payment API jumps from rank 8 to rank 2, and order routing rises to rank 4, because revenue flows through them. Systems that no revenue path reaches, such as the CDN, firewall and DNS, fall to zero. That reflects a gap in the original map, where no client-facing system is recorded as depending on them. It is not evidence that those systems are unimportant.