cc-pipe: Breaking Systemic Bottlenecks in RPKI Data Supply Chain with Concurrent and Conflict-Free Pipelines
Chenhui Yu (Computer Network Information Center, Chinese Academy of Sciences), Yanbiao Li (Computer Network Information Center, Chinese Academy of Sciences), Hui Zou (Computer Network Information Center, Chinese Academy of Sciences), Yuxuan Chen (Computer Network Information Center, Chinese Academy of Sciences), Shiyi Liu (Computer Network Information Center, Chinese Academy of Sciences), Gaogang Xie (Computer Network Information Center, Chinese Academy of Sciences)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Security in Networked Systems
Overview
Global internet routing relies fundamentally on the Border Gateway Protocol (BGP), yet BGP was designed without built-in mechanisms to cryptographically verify route ownership, leaving networks vulnerable to prefix hijacks. To close this security gap, the IETF standardized Resource Public Key Infrastructure (RPKI) as a trusted database for BGP routing decisions. RPKI utilizes resource certificates to delegate IP address blocks and Route Origin Authorizations (ROAs) to bind Autonomous System Numbers (ASNs) to authorized IP prefixes. Route Origin Validation (ROV) then uses these verified payloads—known as Validated ROA Payloads (VRPs)—to determine whether a received BGP route is valid, not found, or invalid.

Key moments
- 0:00 Introduction to BGP vulnerabilities and RPKI fundamentals
- 2:00 RPKI data supply chain latency bottleneck and the wait barrier
- 6:00 Introducing cc-pipe: Concurrent and Conflict-Free Pipeline roadmap
- 8:42 Conflict detection and the computer graph mechanism
- 12:50 Controlling router overhead and query management
- 14:48 Evaluation across real-world, future scale, and robust scenarios
cc-pipe: Breaking Systemic Bottlenecks in RPKI Data Supply Chain with Concurrent and Conflict-Free Pipelines
Speakers: Chenhui Yu (Computer Network Information Center, Chinese Academy of Sciences); Yanbiao Li (Computer Network Information Center, Chinese Academy of Sciences); Hui Zou (Computer Network Information Center, Chinese Academy of Sciences); Yuxuan Chen (Computer Network Information Center, Chinese Academy of Sciences); Shiyi Liu (Computer Network Information Center, Chinese Academy of Sciences); Gaogang Xie (Computer Network Information Center, Chinese Academy of Sciences)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=HaaWOt7KQMc
Overview
Global internet routing relies fundamentally on the Border Gateway Protocol (BGP), yet BGP was designed without built-in mechanisms to cryptographically verify route ownership, leaving networks vulnerable to prefix hijacks. To close this security gap, the IETF standardized Resource Public Key Infrastructure (RPKI) as a trusted database for BGP routing decisions. RPKI utilizes resource certificates to delegate IP address blocks and Route Origin Authorizations (ROAs) to bind Autonomous System Numbers (ASNs) to authorized IP prefixes. Route Origin Validation (ROV) then uses these verified payloads—known as Validated ROA Payloads (VRPs)—to determine whether a received BGP route is valid, not found, or invalid.
Despite its architectural soundness, the RPKI data supply chain suffers from a severe operational latency bottleneck. Relying parties (RPs) must synchronize and validate all global RPKI data sequentially before updating their VRP cache and notifying routers. This monolithic validation paradigm takes roughly 15 minutes to complete, whereas BGP convergence occurs within a single minute. Consequently, RPKI introduces over 15 times the operational latency of BGP, undermining data freshness and creating a major vulnerability to the "straggler effect" when publication points lag or fail.
To break this systemic bottleneck, the authors present cc-pipe, a concurrent and conflict-free pipeline designed to process and distribute RPKI updates incrementally. By replacing the blocking wait-barrier with a fine-grained dependency tracking mechanism, cc-pipe slashes validation run latency by up to 73% in real-world deployments while strictly preserving global routing consistency. This article provides a comprehensive technical analysis of cc-pipe, examining its architecture, dependency resolution algorithms, cache retention policies, and empirical performance across real and simulated workloads.
Background
▶ Watch: Introduction to BGP vulnerabilities and RPKI fundamentals (0:00)
The core architectural vulnerability in modern RPKI deployments stems from the strict synchronization mandates defined in existing Internet Engineering Task Force (IETF) standards. An RPKI relying party periodically performs a validation run by traversing a hierarchical tree of publication points managed by various Certification Authorities (CAs). Under the traditional monolithic paradigm, an RP is forbidden from distributing any updated VRPs to downstream routers until the entire global validation run has concluded.
This wait-for-all sequential order guarantees strict routing consistency, but it exposes the entire system to severe performance degradation caused by slow or unresponsive publication points. Trace-driven analyses reveal that this blocking latency dominates total validation run latency. Prior optimization efforts have focused on reducing synchronization workloads or pruning redundant validation tasks; however, because they accept the monolithic validation paradigm, their performance remains fundamentally constrained by the global synchronization barrier.
A naive alternative is to abandon the barrier entirely, streaming VRP updates to routers the moment they are calculated. While this approach eliminates latency, it introduces a fatal consistency flaw. Because multiple resource certificates can authorize or overlap on the same IP prefixes, streaming updates out of order leads to inconsistent RPKI states, causing transient routing loops, blackholing, and severe traffic loss. For example, if a modifying update is distributed prematurely while a dependent prefix validation is incomplete, a valid route may be temporarily flagged as invalid and summarily discarded. cc-pipe resolves this dilemma by decoupling the validation timeline from the distribution timeline, achieving the speed of pipelining without ever compromising routing consistency.
Key Findings
▶ Watch: Introducing cc-pipe: Concurrent and Conflict-Free Pipeline roadmap (6:00)
The evaluation of cc-pipe, integrated into mainstream relying party software Routinator and Fort, yields several major findings regarding latency reduction, scalability, and robustness:
- Substantial Latency Reduction: In a live, real-world deployment connected to the global RPKI ecosystem for over a month, cc-pipe reduced validation run latency by 73% for Routinator compared to the stock baseline.
- Natural Conflict Sparsity: Trace analysis reveals that over 68% of RPKI updates are naturally conflict-free, and the vast majority of operational conflicts remain strictly localized within the same certificate authority subtree, making pipelining highly efficient in practice.
- Extreme-Scale Scalability: Under simulated future deployment scenarios featuring extreme data growth, stock RPs suffer from severe blocking delays that scale linearly with publication point volume. cc-pipe eliminates this blocking latency entirely, achieving over two hours of latency reduction under the heaviest future workloads.
- Robustness Against Stragglers: When facing 20 intentionally slowed, non-root publication points, stock baseline validation latency degrades by up to 6 times due to head-of-line blocking. cc-pipe maintains a low, stable overall latency profile under identical failure conditions.
- Negligible Downstream Overhead: Despite modest, easily absorbed increases in RP memory and server CPU usage, cc-pipe induces no statistical change in CPU load on downstream BGP routers, proving that fine-grained notification does not destabilize the routing plane.
Technical Deep Dive
▶ Watch: Conflict detection and the computer graph mechanism (8:42)
The architectural engine of cc-pipe relies on a three-step roadmap designed to calculate incremental updates, distribute them conflict-free, and manage router communication overhead without breaking existing RPKI standards.
Local VRP Update Generation
Instead of batching all VRP modifications until the very end of a validation run, cc-pipe calculates VRP updates locally on a per-resource-certificate (RC) basis. By tracking the VRP set from previous and current validation runs for each individual RC, the system generates localized VRP add/withdraw updates dynamically as the certificate tree is traversed. Because multiple independent resource certificates can authorize overlapping IP prefixes, applying these local views directly to the global cache would be unsafe. To maintain global correctness, cc-pipe introduces a global reference count; a VRP is only definitively withdrawn from the cache when its global reference count drops to absolute zero.
Conflict Detection and Predictive Locking
To distribute VRP updates in a conflict-free manner, two VRP updates are defined as conflicting if their IP prefixes overlap, meaning they can affect the routing outcome of the same prefix. While detecting conflicts between already-obtained VRP updates is trivial via prefix overlap checks, the core systems challenge lies in detecting conflicts with VRP updates that have not yet been processed.
To solve this, cc-pipe implements predictive locking using a compute graph. Regardless of how ROAs change within an unprocessed certificate subtree, their IP prefixes are strictly bounded by the IP resource scope of that subtree's root RC. The system uses the root RC of unprocessed subtrees as a maximum scope to lock potential future VRP updates.
The compute graph consists of two primary node types and directed edges:
- VRP Nodes / VRP Update Nodes: Represent local VRP additions and withdrawals.
- RCA Nodes: Act as predictive locks corresponding to certificate subtrees.
- Edges:
RCA-to-VRPedges predict future conflicts and act as active locks, whileVRP-to-VRPedges group active conflicts.
As the relying party traverses the RPKI repository, the graph dynamically evolves:
- Insertion: When a new ROA is validated, a corresponding VRP update node is inserted into the graph.
- Locking: When an RC is validated, it is inserted into the graph as a predictive lock, building edges to overlapping VRP updates to safely block their premature distribution.
- Graph Contraction: Once all direct children of an internal RC have been explored and inserted, the internal uncertainty is transferred to its concrete child nodes. The parent RCA node is then safely removed from the graph.
- Component Isolation: When an RCA lock is removed and no active edges connect a set of VRP updates to unprocessed nodes, those updates form an isolated connected component. They are mathematically guaranteed to be free of future conflicts and can be distributed simultaneously.
Router Overhead and Cache Management
Pipelining splits a monolithic dataset validation run into numerous fine-grained updates, creating two potential sources of system overhead: high-frequency router notifications and serial query failures.
To prevent router notification storms, cc-pipe introduces an aggregation interval, batching rapid updates within a configurable time window into a single notification to balance data freshness with router CPU load. To prevent serial query failures—which occur when a router's local state is too old and the RP has discarded the required incremental data—cc-pipe shifts the cache retention policy from traditional data-item counting to run tracking. By maintaining all data items generated across the latest $N$ validation runs rather than a fixed count of individual items, cc-pipe guarantees a consistent operational history and entirely prevents serial query failures.
Experimental Setup & Results
▶ Watch: Controlling router overhead and query management (12:50)
The evaluation of cc-pipe was executed across three distinct environments using stock versions of two mainstream relying party implementations—Routinator and Fort—as baseline comparators against their cc-pipe-integrated variants.
- Real-World Deployment: Connected directly to the live global RPKI ecosystem for over a month to measure operational latency, memory footprint, CPU consumption, and downstream router impact.
- Future Deployment Scenario: Utilized a data-driven synthetic generator to model extreme future growth in publication points and certificate volume, testing scalability limits.
- Slow Publication Point Scenario: Introduced up to 20 intentionally delayed or unresponsive publication points (including root authorities) to test robustness against the straggler effect.
Headline Results
In the real-world deployment, cc-pipe achieved a 73% reduction in validation run latency for Routinator. While cc-pipe introduced a modest, linear increase in RP memory and CPU utilization to maintain the compute graph and run-tracking cache, this overhead was easily absorbed by modern server hardware. Crucially, BGP router CPU monitoring showed zero statistical variance, confirming complete transparency to the routing plane.
In the future deployment scenario under extreme scale, stock RPs suffered from massive blocking delays scaling past two hours, whereas cc-pipe eliminated the blocking barrier entirely. In the robustness evaluations featuring slow publication points, the stock baseline experienced up to a 6x latency degradation due to head-of-line blocking. In contrast, cc-pipe maintained stable, low-latency updates. When slow publication points encompassed root authorities, cc-pipe safely delayed affected updates to enforce strict routing consistency while still outperforming the stock baseline across all measured percentiles.
Practical Implications
▶ Watch: Evaluation across real-world, future scale, and robust scenarios (14:48)
For network operators, infrastructure engineering teams, and RPKI deployers, cc-pipe represents a major architectural advancement that requires no protocol redesign or router modifications. Because it is implemented as a reusable core library integrated directly into established relying party software like Routinator and Fort, deployment requires nothing more than an RP software upgrade.
Tradeoffs and Limitations
- Memory Footprint: Maintaining the compute graph and run-tracking cache requires additional RAM on the relying party server. While negligible for modern enterprise hardware, memory-constrained embedded appliances running RP software must account for this increased allocation.
- CPU Burstiness: Incremental calculation and graph contraction introduce fine-grained CPU activity throughout the validation run rather than a single batch workload. Operators must ensure adequate core allocation on RP servers.
- Consistency vs. Freshness Tuning: The choice of aggregation interval involves a direct engineering tradeoff between route data freshness and downstream router notification frequency. Operators managing large-scale BGP peering sessions should tune aggregation windows based on router hardware capabilities.
Key Takeaways
- Eliminates Structural Blocking: cc-pipe breaks the 15-minute monolithic validation bottleneck by replacing the IETF-mandated wait-barrier with a concurrent, pipelined architecture.
- Guarantees Routing Consistency: Despite operating concurrently, cc-pipe guarantees absolute routing consistency by utilizing a global reference count and predictive locking over a dynamic compute graph.
- Naturally Conflict-Free: Trace-driven analysis demonstrates that over 68% of RPKI updates are naturally conflict-free, making fine-grained pipeline distribution highly efficient.
- Drastic Latency Reduction: Reduces real-world validation latency by up to 73% and eliminates hours of blocking delay under extreme future scaling workloads.
- Zero Downstream Impact: Operates transparently to the routing plane, inducing no measurable CPU overhead on downstream BGP routers.
- Drop-In Compatibility: Implemented as a reusable library integrated into mainstream RPs (Routinator and Fort), deployable via standard software upgrades without modifying router standards.
About the Speaker(s)
Chenhui Yu presented this work on behalf of a collaborative research team from the Computer Network Information Center at the Chinese Academy of Sciences, alongside colleagues Yanbiao Li, Hui Zou, Yuxuan Chen, Shiyi Liu, and Gaogang Xie. The research group specializes in computer networking, internet architecture, routing security, and systems performance optimization.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)