Skip to main content
RPC checker result from iad1 with four successful reads, a 48 ms median, and the same slot in both reads.

How to Measure Solana RPC Latency and Read Slot Lag

BUILDERZ

BUILDERZ

Share

In this guide

The decisions and working steps ahead.

Two readings from the same mainnet endpoint

Why a healthy endpoint can appear one slot behind

Repeat the call where your app runs

If a wallet takes a second to show a balance, time the RPC call that supplies the balance. A fast health check tells you the node can answer one small request. It leaves open how long your account query takes and how much time the wallet spends rendering the result.

Start with two measurements. Record the round-trip time of the method your app uses, from the region where your app calls it. Then compare the slot reported by that endpoint with a second endpoint on the same cluster at the same commitment. The first measurement tells you how long the caller waited. The second gives you a rough check on how recent the response was. Solana getSlot reference

Two readings from the same mainnet endpoint

On November 24, 2026, we ran the Builderz Solana RPC latency checker twice against the public mainnet endpoint. Both runs originated in Vercel region iad1. In the first run, getHealth took 96 ms, getSlot 42 ms, getLatestBlockhash 38 ms, and getVersion 60 ms. All four succeeded. Sorting those durations gives 38, 42, 60, and 96. The middle pair averages to 51 ms.

The second run is the one pictured above. The same four methods took 53, 40, 58, and 42 ms respectively. Their median rounds to 48 ms. Those figures describe four different reads in each run. To learn how often a balance read is slow, collect repeated timings for that particular method and retain the failures alongside the successful samples.

Why a healthy endpoint can appear one slot behind

The first run returned slot 473438571. The later reference read returned 473438572. Subtracting the first number from the second gives a gap of one. The second run returned 473464910 for both reads, a gap of zero. The checker samples the reference after the four method calls. The cluster can advance while those calls run.

Compare mainnet with mainnet. Devnet has its own slot sequence, so comparing a devnet slot to the tool’s default mainnet reference produces a meaningless gap. For a closer comparison between two providers, issue both reads close together with the same explicit commitment. Keep the time and both slot numbers for each pair. If one endpoint repeatedly trails while the other advances, repeat the comparison from your deployment region before routing traffic away. Solana clusters

Repeat the call where your app runs

This command makes one read against public mainnet. Run it on your backend host if the backend calls Solana. The response contains the slot. The last line gives the HTTP status and elapsed time in seconds. Multiply by 1,000 to compare it with the checker’s milliseconds.

Code examplebash
curl --silent --show-error --max-time 10 \
  --header 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"getSlot","params":[{"commitment":"processed"}]}' \
  --write-out '\nHTTP %{http_code}, total %{time_total} seconds\n' \
  https://api.mainnet-beta.solana.com

Check the JSON body as well as the HTTP status. Only include the duration as a successful read if the body contains a numeric slot. Count an HTTP 429 separately so that a quick rate-limit response cannot improve your latency figure. For an app that calls RPC directly from the browser, use the Network panel while performing the slow action. Capture the actual method, response, and duration from that device. A server in iad1 follows a different network path.

If the slow part starts after signing, keep the submission signature and measure the interval until the requested commitment is reached. A short getLatestBlockhash call says little about that interval. The transaction confirmation guide covers what to check when a submitted transaction is still pending.

Continue reading

Building on Solana?

Book a 20-minute intro call, or send a short brief. We reply within one business day.

Solana development service