Why We Build Zero-Distance Blockchain Infrastructure

You moved to a faster CPU. You shortened the code. Yet prices appear on screen, or decisions begin, barely sooner than before. At this point, the useful question is what the CPU is waiting for before it can start work.
An update might take very little time to process once received, but reach the application through an indirect route. Even after improving delivery, a synchronous query to a distant database on every decision can introduce another wait. In this example, the path to shorten runs from the creation of necessary information to a correct decision and action.
In Mahwah, New Jersey, where the New York Stock Exchange's trading systems are located, customers can pay to colocate their equipment in the same facility. ICE's technical specifications go further: fibre lengths for specified network connections inside the facility are equalised across colocation halls and equipment locations. [1] [2] [3]
Even within one building, cable length is a controlled design condition. The time it takes information to arrive is being engineered through placement and cabling. Where a server runs is a performance factor alongside its computing power.
ERPC's zero-distance design aims to reduce avoidable distance, intermediaries, waiting and variation along that path. It does not mean that physical distance or latency literally becomes zero. Signal propagation, necessary validation and blockchain consensus still take time.
Using Solana as a concrete example, this article approaches placement and delivery through two questions: “Close to what?” and “When is the data usable?” We first identify where to measure in the existing application, then examine which sections of the path ERPC's services can help improve.
1. A fast CPU cannot remove the wait for data
Consider two configurations processing the same update. They use the same CPU and code, but the necessary data reaches one earlier than the other. If the work after reception is identical, the configuration receiving the data later also finishes processing later.
Figure 1 | The same compute still waits for data

A faster CPU can help. If decoding, validation or decision logic is the bottleneck, it may reduce processing time and queueing. A faster receiving CPU cannot shorten cable propagation time or the wait for an update to become available upstream. The server selection article explains how to assess resource headroom.
An RPC is an interface through which an application reads blockchain information or submits transactions. Connecting to a nearby RPC may shorten the round trip to that interface. However, if the RPC has not yet received the required update, a nearby interface can return an old state very quickly.
The distance from the application to its interface and the distance from the data's origin to that interface are different. This distinction is the starting point for examining the whole path.
2. Separate arrival from readiness to decide
Receive a transaction notification, check your own order state, then decide what to submit next. Follow one piece of work through that sequence, using the illustrative name
decision-A. Even if the notification arrives first, the decision cannot begin while required order state remains unavailable.Define what must finish, and by when, for that work to succeed. For transaction submission, give submission and the required blockchain outcome their respective deadlines; for a display update, define the deadline for the required state to appear. Begin by recording just reception and decision start within the same process under the same work ID.
On Solana, validators are nodes that validate transactions and blocks. A slot is a unit for assigning block-production responsibility. The validator assigned that role is the Leader. Shreds are fragments used to distribute block data. As that data reaches validators and is reconstructed and processed, it passes through several possible observation points. Receiving Shreds and subscribing to account or transaction processing results provide information at different stages. [4] [5]
It would therefore be misleading to draw every data flow as one mandatory sequence of Leader, validator, RPC and application. An application may use a Shreds path, subscribe to relevant notifications through Geyser gRPC, or query state through RPC. Geyser gRPC provides a continuing subscription to updates reported by a validator, including accounts, transactions and slots. Here, accounts are the units that store balances and data on Solana. Changing the delivery format also changes the reconstruction, validation and state management the application must perform. [5] [6] [7]
Figure 2 | Separate observations from reception to outcome

If reception to decision start is long, add the state-readiness timestamp from the following table to separate preparation from the queue wait that follows. If you do not yet have an application, begin by writing down the required inputs and processing order for this example. Readers familiar with instrumentation can map their observation points directly into the template in section 7.
| Observation point | What it tells you |
|---|---|
| Data reaches the receiving handler | When the application could read it. This is distinct from arrival at the network interface |
| Required state becomes available | When reconstruction, validation, other necessary inputs and the required confirmation conditions are satisfied |
| Decision processing starts | When a worker begins the decision task after the required state is ready. This separates the queue wait before processing |
| The decision finishes | When computation and any mandatory storage or queries have completed and the submission content is decided |
| Submission starts | When the client begins sending the new transaction |
| The RPC response arrives | When the RPC request and response complete. This does not prove arrival at the Leader or execution |
| The required blockchain outcome is observed | When execution results and the required commitment have been checked separately. This also includes the return path for that observation |
In this table, “required state becomes available” means that the inputs defined as prerequisites for starting the decision are valid. Record queries or writes that become necessary during the decision as child intervals with their own start and end, without adding their durations to the decision's total again. Keep observation boundaries fixed before and after a change.
Commitment specifies the confirmation stage the application requires. Check current Solana semantics and the endpoint's support, and keep that requirement unchanged during comparison. A successful
sendTransaction response does not guarantee successful execution or finalisation. [8] [9]Measuring receipt at the Leader requires a separate observation point showing that receipt. If it is unavailable, the interval from submission start to that point remains unmeasured. Do not substitute the RPC response timestamp for it.
Two different kinds of waiting matter here. If two paths deliver interchangeable copies of the same information, the first copy satisfying the requirements can be used. If a decision requires both current blockchain state and your own order state, either input alone is insufficient. Both must become usable.
Figure 3 | First eligible copy. All required inputs.

If valid blockchain state is ready first and the time when order state becomes usable stays unchanged, an even earlier blockchain copy does not make both inputs ready sooner. The next path to investigate is the one making order state ready. If every decision requires a round trip to a distant order database, include that trip in the placement design. Replicating state nearby requires a design for freshness, update ownership and reconciliation after failure.
Start by opening and copying “Diagnose waiting time (A).” After narrowing down the cause, use “Evaluate product needs (C)” in section 5 or “Evaluate placement and regional architecture (B)” in section 6. Section 7 explains the metrics. To continue reading, go to section 3.
text
AI instruction A: Diagnose waiting time. Investigate each section of the current application.
First inspect the repository's authoritative working and security rules, current code, SDKs and lockfiles, actual network configuration, and current official API specifications. Do not expose credentials or private IP addresses. Stay within existing read and local verification permissions.
Choose one piece of work and define its required outcome and deadline. Limit the first measurement to one interval available within a single process using a monotonic clock with a common origin. For example, record reception and decision start under the same work ID, then report the number of matched start/end pairs and their durations. State which events were recorded and where records are missing.
If that interval is long, add the state-readiness timestamp to separate decoding and validation, waiting for other inputs, and queueing. Distinguish the first interchangeable copy from the time when all independently required inputs are ready. Record additional queries or writes during the decision as child intervals without adding their durations to the parent interval again. Extend the investigation to decision completion, submission, RPC response and observation of the blockchain outcome as needed.
For the chosen interval, define event identity, information stage and commitment, start and end points, clock type and common origin, and keep them fixed across comparisons. Check synchronisation error when comparing clocks on different hosts. Mark unavailable timestamps as unmeasured, and do not treat RTT/2 as an established one-way delay.
Prepare a minimal instrumentation plan and execute it within the authorised verification scope. Compare like-for-like workload, events, time periods, connection and subscription conditions, checking both correct results and instrumentation overhead. Start with counts and durations; add the mean, p50/p95/p99 and rates after establishing their relevance and aggregation conditions. If the reference set, denominator or observation cutoff needed for a deadline-arrival or unobserved-event rate is unavailable, mark that rate as unevaluated and identify the next records needed to evaluate it. Keep late or unobserved events, invalid data, reconstruction failures, and application or instrumentation drops separate from successful observations.
Do not recommend purchasing or switching products, or a wholesale language migration, before identifying the cause. For each proposed change, specify when it helps, when it does not, failure and rollback conditions, and correctness checks. Preserve existing requirements for forks, ordering, missing data, reconnection, duplicate effects, signatures, authentication, preflight and fee limits.
Do not change production settings, enter contracts, incur charges, merge PRs or execute real trades. Report the evidence, unverified points and the smallest next change to test. Do not invent unmeasured improvement percentages.AI instruction A: Diagnose waiting time. Investigate each section of the current application.
First inspect the repository's authoritative working and security rules, current code, SDKs and lockfiles, actual network configuration, and current official API specifications. Do not expose credentials or private IP addresses. Stay within existing read and local verification permissions.
Choose one piece of work and define its required outcome and deadline. Limit the first measurement to one interval available within a single process using a monotonic clock with a common origin. For example, record reception and decision start under the same work ID, then report the number of matched start/end pairs and their durations. State which events were recorded and where records are missing.
If that interval is long, add the state-readiness timestamp to separate decoding and validation, waiting for other inputs, and queueing. Distinguish the first interchangeable copy from the time when all independently required inputs are ready. Record additional queries or writes during the decision as child intervals without adding their durations to the parent interval again. Extend the investigation to decision completion, submission, RPC response and observation of the blockchain outcome as needed.
For the chosen interval, define event identity, information stage and commitment, start and end points, clock type and common origin, and keep them fixed across comparisons. Check synchronisation error when comparing clocks on different hosts. Mark unavailable timestamps as unmeasured, and do not treat RTT/2 as an established one-way delay.
Prepare a minimal instrumentation plan and execute it within the authorised verification scope. Compare like-for-like workload, events, time periods, connection and subscription conditions, checking both correct results and instrumentation overhead. Start with counts and durations; add the mean, p50/p95/p99 and rates after establishing their relevance and aggregation conditions. If the reference set, denominator or observation cutoff needed for a deadline-arrival or unobserved-event rate is unavailable, mark that rate as unevaluated and identify the next records needed to evaluate it. Keep late or unobserved events, invalid data, reconstruction failures, and application or instrumentation drops separate from successful observations.
Do not recommend purchasing or switching products, or a wholesale language migration, before identifying the cause. For each proposed change, specify when it helps, when it does not, failure and rollback conditions, and correctness checks. Preserve existing requirements for forks, ordering, missing data, reconnection, duplicate effects, signatures, authentication, preflight and fee limits.
Do not change production settings, enter contracts, incur charges, merge PRs or execute real trades. Report the evidence, unverified points and the smallest next change to test. Do not invent unmeasured improvement percentages.3. The same city does not mean the same route
Light travels at a finite speed. In typical optical fibre, a signal takes approximately 5 μs to travel 1 km. Across 1,000 km of cable, propagation alone therefore takes about 5 ms one way. This is an estimate of signal travel time, not a measurement that includes device processing or congestion. That time remains even when the CPU is ready to start processing immediately. [10]
The relevant distance follows the actual installed cable. A straight line on a map or a city name cannot establish it. Bringing the place where information originates closer to the place where it is used, and shortening the actual transmission path, are ways to reduce propagation time.
Bandwidth concerns how much data can be carried per unit of time. In a pipe analogy, distance is its length and bandwidth is its width. Increasing the link's transmission rate can reduce the time needed to put a packet of the same size onto that link. The time light takes to travel along the same cable remains unchanged. [11]
Congestion occurs when more data reaches a section of the path than it can transmit during that interval. When packets wait their turn in a buffer, that waiting time is added to propagation time. A short route can become congested when traffic concentrates, while sufficient capacity can keep congestion low on a long route. Separating distance, capacity and queueing reveals which part to improve. [12]
| Delay component | Main factors | What to investigate |
|---|---|---|
| Propagation | Actual cable length and signal speed in the medium | Placement relative to required counterparts and the transmission route |
| Serialization | Packet size and link speed | Data volume and link capacity |
| Queueing | Data already waiting and the rate at which it can be transmitted | Traffic concentration, capacity headroom, routing and queue management |
Processing at intermediate devices adds further time. Variation in delay is commonly called jitter. The network latency article covers these fundamentals and measurement examples.
Figure 4 | Same city. Different network paths.

Being in the same city does not mean being in the same data centre. The same data centre does not imply the same network or rack. Conversely, two directly connected network locations can have a shorter route than another pair that appears closer on a map.
The question is how traffic actually reaches each necessary counterpart. RTT measures a round trip, but the outward and return paths and their congestion need not be symmetric. Dividing RTT by two does not establish one-way arrival time. Intermediate-hop listings and ICMP replies are also reference observations; they need not represent the application's route or processing priority. [13]
Adopt closer placement when actual communication with the required counterparts improves the time until data is usable and its variation. A city label alone is insufficient evidence.
4. Data does not originate in one fixed place
The exchange example considered proximity to a particular trading system in Mahwah. Solana rotates the Leader role according to the Leader Schedule. Servers do not move between cities; the validator responsible for block production changes. When the origin changes, the conditions along the path to a receiver can change too. The Leader Schedule maps validator identities to slots. It does not provide geographical locations or arrival times from the application's perspective. [14] [15]
Figure 5 | Fixed locations. Rotating Leader responsibility.

A region can be favourable in many situations without being first for every Leader, delivery path and congestion condition. This is why a city name is a poor basis for a permanent performance ranking.
Observing the same data over several paths and accepting the first eligible copy, First Arrival, can help under suitable conditions. But “first” is meaningful only for the same event, information stage and observation point. The first Shred, a reconstructed transaction and a confirmed state cannot be treated as interchangeable items in a delivery-speed comparison.
Receiving the first Shred does not necessarily make the required content reconstructable. Measure separately when the necessary fragments and validation conditions are satisfied. The Shreds Mesh article explains how multiple paths can help supply missing pieces.
More paths may provide little benefit if they share the same congestion point. Extra forwarding to an aggregation point and duplicate processing can also overload a receiving queue. Evaluate the time until the data becomes usable and the rate of meeting the deadline, rather than treating path count as the result.
5. Which distance does each ERPC service address?
ERPC's services address different sections of the path: the interface an application enters, the route by which a node receives data, processing within the node, application placement and transaction submission. Each offers a different potential point of improvement.
The distinction between a nearby Global Edge entry point and proximity to the data source is especially useful. Edge addresses entry from the application into the service. Being close to that entry point does not establish proximity to the Leader producing the update, or to the node receiving it. [16] [17]
“Premium Mesh” in Figure 6 refers to the delivery mesh used by UDP Forwarding Premium. SWQoS, or Stake-Weighted Quality of Service, prioritises incoming transaction-submission traffic at the Leader using weights based on stake, the SOL delegated to validators. [6] [28]
Figure 6 | Each design targets a different section

For example, if only the queue after reception is growing, investigate that queue before adding Mesh. If there is evidence of shared RPC processing contention, compare dedicated resources. If round trips to the node dominate, compare placement. A product name becomes a useful choice only when connected to a diagnosis.
The following maps publicly documented services as of 29 November 2026 to the sections worth investigating. Check regions, availability and connection requirements separately for each service.
| Service | Section to investigate and conditions for adoption | Constraints to check separately |
|---|---|---|
| Global Edge RPC | Application or user to service entry point; RPC access from multiple regions | A nearby entry point does not guarantee fresh data. Supported chains include Solana, Ethereum and Arc; Arc supports HTTP JSON-RPC, without WebSocket [16] [18] |
| Regional Unlimited Endpoints | Application to an HTTP endpoint in the selected region; useful when required methods are supported and placement should be fixed for comparison | A dedicated endpoint is distinct from a dedicated server. Current chains are Solana, Ethereum and Avalanche C-Chain, not Arc. Method restrictions and IP registration apply; unlimited does not mean infinite processing capacity [19] [20] |
| Dedicated RPC / dedicated gRPC | Node resources and processing queues, when contention for shared resources is an observed constraint | This does not remove propagation from the source, application overload or blockchain confirmation time [21] [22] |
| Geyser gRPC | Notifications such as accounts, transactions and slots, when a structured subscription stream is appropriate | Check subscription scope, commitment and shared or dedicated filter rules. Do not compare it with Shreds as if both observed the same stage [7] [23] |
| Shreds UDP Forwarding (Standard / Premium) | Delivery of Shreds to the receiver, when early observation matters and the application can handle reconstruction and validation | Standard forwards from a single node in the selected region. Premium Mesh selects the first received copy of each Shred on the provider side before forwarding. This does not mean the customer receives every internal copy [6] [24] |
| VPS / Bare Metal | Application communication with necessary nodes and state, when execution placement can be chosen to match actual routes | Verify the conditions for placement within the same network. Do not assume universal guarantees of the same city, data centre, rack or a particular RTT [25] [26] |
| SWQoS | Transaction submission after a decision, when considering a staked route towards the Leader | This is separate from incoming-data freshness. Distinguish the RPC response, inclusion, execution success and confirmation; do not treat them as one guaranteed outcome [27] [28] |
The existing HTTPS SWQoS endpoint must also be distinguished from SWQoS QUIC, which is described as being prepared. This article does not present client-facing QUIC access as an available feature. Supported methods and streaming features also differ by chain. Solana's Leader and Shreds model should not be transferred unchanged to Ethereum or Arc. [27] [29]
Open and copy the following AI instruction for “Evaluate product needs (C).” To continue reading, go to section 6.
text
AI instruction C: Evaluate product needs. Determine whether the current application needs Edge, dedicated nodes or Mesh.
Inspect authoritative working and security rules, current code, SDKs and lockfiles, required data formats, subscriptions, commitment, network configuration and existing measurements. Consult current ERPC documentation and record the verification date. Separate available, planned and unverified features. Do not infer features or guarantees from product names.
Treat the Global Edge entry point, route to regional RPC, dedicated node resources, Geyser notifications, Shreds reception and reconstruction, provider-side Mesh selection, application placement and SWQoS submission as separate sections. Verify chains, methods, filters, regions and connection requirements. Distinguish a dedicated URL from a dedicated server.
Measure the cause in the existing configuration first. Propose changes only where the evidence establishes a need. Do not make a new purchase or complete migration the first solution. For each proposal, state adoption conditions, conditions where it will not help, failure conditions including shared dependencies, duplicate processing, missing data or receiver overload, costs and rollback criteria.
Use the same events, information stage, workload, observation window, clock conditions, deadline and missing-event denominator before and after. Check mean, p50/p95/p99, deadline arrival rate, unobserved events, reconstruction failures, instrumentation drops and correct final results. Do not compare the first Shred with an execution result as a delivery race for identical information.
Preserve existing requirements for forks, ordering, deduplication, resynchronisation, signatures, authentication and preflight. Use existing read and local verification permissions only, and do not expose secrets. Do not change production settings, enter contracts, incur charges, merge PRs or execute real trades. Submit the comparison with evidence, unverified points and any approval needed for subsequent action.AI instruction C: Evaluate product needs. Determine whether the current application needs Edge, dedicated nodes or Mesh.
Inspect authoritative working and security rules, current code, SDKs and lockfiles, required data formats, subscriptions, commitment, network configuration and existing measurements. Consult current ERPC documentation and record the verification date. Separate available, planned and unverified features. Do not infer features or guarantees from product names.
Treat the Global Edge entry point, route to regional RPC, dedicated node resources, Geyser notifications, Shreds reception and reconstruction, provider-side Mesh selection, application placement and SWQoS submission as separate sections. Verify chains, methods, filters, regions and connection requirements. Distinguish a dedicated URL from a dedicated server.
Measure the cause in the existing configuration first. Propose changes only where the evidence establishes a need. Do not make a new purchase or complete migration the first solution. For each proposal, state adoption conditions, conditions where it will not help, failure conditions including shared dependencies, duplicate processing, missing data or receiver overload, costs and rollback criteria.
Use the same events, information stage, workload, observation window, clock conditions, deadline and missing-event denominator before and after. Check mean, p50/p95/p99, deadline arrival rate, unobserved events, reconstruction failures, instrumentation drops and correct final results. Do not compare the first Shred with an execution result as a delivery race for identical information.
Preserve existing requirements for forks, ordering, deduplication, resynchronisation, signatures, authentication and preflight. Use existing read and local verification permissions only, and do not expose secrets. Do not change production settings, enter contracts, incur charges, merge PRs or execute real trades. Submit the comparison with evidence, unverified points and any approval needed for subsequent action.6. Before adding regions, decide where decisions and state belong
Receivers in several regions provide observation opportunities in those regions. But if every receiver forwards everything to a central decision server, include that forwarding and the central processing queue in the evaluation. If each region decides and submits independently, the design must prevent the same order or business action from being executed twice.
Single-region, multi-region and hybrid architectures therefore require more than a comparison of server counts. First decide where reception, decision-making and state ownership belong.
| Architecture | Conditions favouring adoption | Main failure conditions and operational costs |
|---|---|---|
| Consolidate in one region | Routes to the required counterparts meet deadlines, and decisions and state can be kept close. A small operational footprint is useful | Some distant sources may be less favourable. Regional failure needs a separate response. Inter-region transfer can be limited, but contention between reception, decisions and the database remains possible |
| Process in multiple regions | Regional observation or continuity has demonstrated value, and ownership of work and state can be partitioned | Replication, duplicate reception, inter-region transfer and monitoring add cost. Failover must not cause duplicate effects or regression to stale state |
| Receive in several regions; decide in a limited set of regions | The benefit of more receiving paths exceeds forwarding costs to the decision location. Decision and state consistency should remain easier to manage | The aggregation point can constrain latency, capacity and availability. Multiple regions still incur hosting and transfer costs; more receiving regions do not make the decision tier redundant |
This is a comparison of design conditions, not measured availability or cost rankings. Multiple regions can still share dependencies such as authentication, control systems or data sources. A failure in a shared dependency can affect all of them. Establish the actual failure domains for each configuration.
Deduplicating an input is also different from ensuring that an order, payment or other business effect occurs only once. Old and new workers may overlap during failover. Design ownership per business key, a way to invalidate the old owner, durable records and outcome reconciliation. If an added central database lock introduces a distant round trip on every decision, measure that wait too.
Open and copy the following AI instruction for “Evaluate placement and regional architecture (B).” To continue reading, go to section 7.
text
AI instruction B: Evaluate placement and regional architecture. Compare placement options for the current application.
Read authoritative working and security rules, current code, SDKs and lockfiles, and deployment configuration. Map the regions and actual communication counterparts of the application, nodes, required data sources, databases and users. Stay within existing read and local verification permissions. Do not disclose private IP addresses, topology or credentials.
Distinguish the same city, data centre, network and rack. In addition to RTT, plan measurements of First Arrival for the same event and information stage, readiness time, decision and submission time, and outcome observation. Do not compare clocks on different hosts without checking synchronisation accuracy, measurement origins and error bounds.
Separate propagation, packet serialization and congestion queueing. For typical optical fibre, approximately 5 μs per kilometre of cable is an estimate of one-way propagation time. Do not infer measured latency or congestion from straight-line map distances.
Compare one region, multiple processing regions, and a hybrid with regional reception and centralised decisions. For each, specify adoption conditions, conditions where it will not help, changing Leader and route conditions, reception and transfer load, shared failure dependencies, costs, state freshness and ownership, and failover failure conditions.
Do not assume deduplication of data copies prevents duplicate business effects. Check forks, regression to stale state, duplicate submission and reconciliation after recovery. Preserve current requirements for authentication, signatures, preflight and commitment.
Compare like-for-like workload, events, subscriptions, observation windows and deadlines. Record mean, p50/p95/p99, deadline arrival rate, unobserved events, reconstruction failures, instrumentation drops and cost. Account for resource contention during simultaneous tests and changing time periods or Leaders during sequential tests. Without the required reference-event set, do not report an absolute missing-event rate.
Do not purchase additional regions or products before establishing the cause. Present a minimal verification plan and rollback conditions first. Do not change production settings, enter contracts, incur charges, merge PRs or execute real trades. Separate completed verification from checks that have not been performed.AI instruction B: Evaluate placement and regional architecture. Compare placement options for the current application.
Read authoritative working and security rules, current code, SDKs and lockfiles, and deployment configuration. Map the regions and actual communication counterparts of the application, nodes, required data sources, databases and users. Stay within existing read and local verification permissions. Do not disclose private IP addresses, topology or credentials.
Distinguish the same city, data centre, network and rack. In addition to RTT, plan measurements of First Arrival for the same event and information stage, readiness time, decision and submission time, and outcome observation. Do not compare clocks on different hosts without checking synchronisation accuracy, measurement origins and error bounds.
Separate propagation, packet serialization and congestion queueing. For typical optical fibre, approximately 5 μs per kilometre of cable is an estimate of one-way propagation time. Do not infer measured latency or congestion from straight-line map distances.
Compare one region, multiple processing regions, and a hybrid with regional reception and centralised decisions. For each, specify adoption conditions, conditions where it will not help, changing Leader and route conditions, reception and transfer load, shared failure dependencies, costs, state freshness and ownership, and failover failure conditions.
Do not assume deduplication of data copies prevents duplicate business effects. Check forks, regression to stale state, duplicate submission and reconciliation after recovery. Preserve current requirements for authentication, signatures, preflight and commitment.
Compare like-for-like workload, events, subscriptions, observation windows and deadlines. Record mean, p50/p95/p99, deadline arrival rate, unobserved events, reconstruction failures, instrumentation drops and cost. Account for resource contention during simultaneous tests and changing time periods or Leaders during sequential tests. Without the required reference-event set, do not report an absolute missing-event rate.
Do not purchase additional regions or products before establishing the cause. Present a minimal verification plan and rollback conditions first. Do not change production settings, enter contracts, incur charges, merge PRs or execute real trades. Separate completed verification from checks that have not been performed.7. What should you measure in your application first?
Keep the success condition and deadline defined in section 2 fixed, and carry the same work ID across observation points. Record enough to reconstruct the path of one piece of work, as well as individual durations. Concurrent stages may overlap, so summing their durations can double-count elapsed time. Even for sequential stages, the sum of stage p99s is not generally the overall p99. Measure the overall duration directly from the corresponding start and end of the same work item.
Event identity is part of the specification. A transaction signature alone does not establish the same observed fork (a branching chain state), execution state or commitment. An account public key and slot may not identify a unique write. Define identifiers that remain meaningful across providers, and mark unmatched notifications as “correspondence unverified,” keeping them out of a first-arrival comparison at the same information stage. The Yellowstone gRPC practical guide and Solana Stream SDK provide implementation starting points. Check the SDK version in use and the API for that version. [30]
The following is a template for one work item, not measured data. A work ID links processing inside the application; it does not prove that notifications from different providers describe the same event. Start with the boundaries you can record, adding RPC-response and outcome-observation timestamps where needed.
| Field | What to fill in |
|---|---|
| Work | [work ID], [operation being traced] |
| Success condition | [required outcome], [start point and deadline], [information stage and commitment] |
| Event matching | [provider and connection], [identity criteria], [match verified / mismatch / correspondence unverified] |
| Clock | [process], [clock type, common origin and unit] |
| Boundary timestamps | [reception], [state ready], [decision start and end], [submission start] |
| Child intervals | [parent interval], [query or write name, start and end] |
| Unmeasured | [unavailable observation point and reason] |
Return to
decision-A from section 2 and follow it from reception to submission start, using the deadline required by the current application. In this example, the order-database read is also a prerequisite for starting the decision, so that wait belongs before state readiness. An additional query needed as the decision proceeds is a child interval within the decision. Calculate reception-to-submission time directly from those two boundaries for this work item, without adding the database query again. If the generation timestamp or receipt at the Leader cannot be observed, those intervals remain unmeasured.If reception to state readiness is long, separate decoding and validation from waiting for other inputs. If readiness to decision start is long, check queueing and worker availability. If decision start to completion is long, separate computation from the child intervals for queries and writes.
For timing, elapsed durations within one process using a monotonic clock with a common origin are a manageable starting point. Even when comparing monotonic clocks across processes, verify that their origins match. To calculate one-way delay using wall clocks on different hosts, establish the synchronisation method, error, drift and timestamp attachment points. Differences comparable to the clock error cannot establish a performance ranking. [13] [31]
Freshness concerns the time represented by the state being used. A short interval from reception to decision does not make old data fresh. Nor does every event have a trustworthy creation timestamp.
getBlockTime returns an estimated block time in seconds; it is not a millisecond-resolution clock for the creation of an individual Shred. Mark sections with unavailable origins as unmeasured, and report relative arrival of the same event or elapsed time after reception instead. [32]For the first interval, check the number of matched start/end pairs and their durations. When comparing distributions or deadline arrival rates, align the following definitions and aggregation conditions. If a rate's denominator or observation conditions are unavailable, mark it as unevaluated and decide which records are needed next.
- Mean: the sum of observed durations divided by their count. Long delays influence it.
- p50, p95 and p99: p50 is the median; p95 and p99 indicate positions at or below which roughly 95% and 99% of the observed distribution fall. Report the population, quantile method, observation period and sample count. A p99 from a small sample is insufficient evidence about rare delays.
- Deadline arrival rate: the number of events whose valid required data arrived within a defined deadline, divided by the number in the required reference-event set. State whether this counts a first packet or a state ready for a decision.
- Unobserved or missing-event rate: requires an expected-event denominator and an observation cutoff. If you know only the events received on at least one of two paths, the comparison is relative to their union. It is not an overall missing-event rate that includes events absent from both paths. Separate the event intake window from subsequent follow-up, and give events near the end the same follow-up duration.
- Outcome categories: keep late arrivals, unobserved events, invalid data, reconstruction failures and records dropped by the application or instrumentation separate. A mean and quantiles for successful arrivals alone do not describe the performance of all events. Being unobserved at the cutoff is not proof of permanent loss.
Use these measurements to narrow the next change.
| Observed symptom | Section to investigate next |
|---|---|
| RTT is short, but a necessary update becomes usable later than on another path | Source-to-node delivery, notification or reconstruction stage, subscription conditions |
| Reception is early, but the decision begins late | Decoding, queues, other inputs, synchronous database queries and locks |
| The decision finishes early, but submission starts late | Signing, construction, connection and submission queues, while preserving safety requirements |
| The RPC responds quickly, but the required outcome is not observed | Transaction content, submission path, execution result, commitment and the outcome observation path |
| The mean looks good, but deadlines are sometimes missed | p95/p99 and sample counts, congestion, reconnection, missing data, reconstruction failures and resource saturation |
Keep each change small. Compare the same events, workload, subscription conditions, commitment and deadlines before and after, checking both performance and correct results. Placement comparisons should cover multiple Leaders and time periods. Do not turn a win during a short observation window into a permanent ranking. Record resource contention in simultaneous comparisons and time-period differences in sequential comparisons.
All figures in this article are explanatory models, not new performance benchmarks. The illustrated configurations do not guarantee an improvement percentage, arrival win rate or availability.
8. Why ERPC pursues zero distance
Moving reception closer can expose the distance to required state as the next constraint. Adding delivery paths can expose a queue processing duplicates. Improve one section, then measure the next. This repeated process connects infrastructure changes to actual application performance.
ERPC pursues zero distance because optimising CPUs, delivery, networks and placement separately can leave substantial waiting between necessary information and a decision or action. A nearby entry point, the appropriate observation stage, first arrival across paths, node resources and application placement must serve the same purpose.
Within the constraint imposed by the speed of light, there is still room to design the path information follows, the place where decisions happen and the dependencies that create waiting. Making usable information available earlier while preserving the conditions required for correctness is the purpose of pursuing zero distance.
For your own application, begin with this question: “What is this decision waiting for?” The answer identifies which counterpart to move closer to and which section to change.


