---
title: "FAQ - Geyser gRPC Stream"
description: "Frequently asked questions about the ERPC - Enhanced Solana RPC Geyser gRPC Stream"
canonical: "https://erpc.global/en/faq/grpc/general/"
locale: "en"
---

# FAQ - Geyser gRPC Stream

## Q. In which regions are your nodes located?

We currently operate nodes in the following regions:

- Frankfurt (FRA)
- Amsterdam (AMS)
- London (LON)
- New York (NY)
- Tokyo (TY)
- Singapore (SGP)
- Sydney (SYD)

ERPC measures actual network latency based on real routing paths, automatically selecting the region with the lowest latency rather than relying on straight-line distance. This approach not only improves latency for individual users but also enhances overall network efficiency and strengthens ERPC’s global resilience against potential attacks.

If your environment does not automatically select the optimal region, please contact us through the ERPC Web Dashboard.

ERPC Web Dashboard: https://dashboard.erpc.global/en

## Q. Latency shows 9999ms and a non-optimal region gets selected. What should I do?

For gRPC region selection, ERPC sends ICMP latency probes to your registered IP from the proxy hosts listed below. Allow inbound ICMP echo requests from every listed source IP. If they are blocked by a firewall (ufw, cloud firewall, security group, etc.), the measurement can become `9999ms` and a non-optimal region may be selected. Multiple IPs in one region are separate probe hosts; all of them are required.

[ERPC_PING_SOURCES:grpc]: #
| Region | ICMP source IPs |
| --- | --- |
| 🇳🇱 Amsterdam | `82.21.43.34`, `151.244.92.36` |
| 🇺🇸 New York | `151.243.244.5` |
| 🇩🇪 Frankfurt | `151.241.178.20`, `151.241.178.34`, `151.241.178.21` |
| 🇬🇧 London | `151.241.65.4` |
| 🇯🇵 Tokyo | `143.20.238.66` |
| 🇸🇬 Singapore | `151.245.186.2` |
| 🛰️ Far Point | `143.20.238.73` |

## Q. I allowlisted my IP, but I still cannot connect. What should I check?

Use the encrypted HTTPS endpoint selected in the Dashboard. HTTPS uses port 443; HTTP on port 80 remains the unencrypted low-latency option.

Both transports use the same registered-IP allowlist. Use the endpoint selected in the Dashboard; HTTPS uses 443 and HTTP uses 80.

- HTTPS endpoint: use the Dashboard-selected endpoint on port 443.
- HTTP endpoint: use the Dashboard-selected endpoint on port 80.
- Use the URL shown in the Dashboard with `https://` or `http://`.

Authentication is based on your registered IP address. Do not add `x-token`, `token`, or `Authorization` headers unless a specific product page explicitly says to do so.

## Q. I've only used WebSocket before. Can I use gRPC? Do you have samples?

Yes. You can quickly test and start developing with gRPC using SLV.

For a shared endpoint that you can test without a token, run:

```bash
slv check grpc --endpoint <YOUR_ENDPOINT> --token none
```

Check out our [gRPC Quickstart Guide](https://slv.dev/en/doc/geyser-grpc/quickstart/) for details.

## Q. Can I register two IP addresses?

You can use one endpoint per subscription. If you wish to use two IP addresses, you must subscribe to two separate subscriptions.

## Q. Are there any filter limits?

Shared Geyser gRPC has fair-use protections so one stream cannot consume the resources needed by other ERPC customers. Under the current Shared rule, every non-empty `blocks` map is rejected, including a narrow block request. Each account filter must include an `account`, an `owner`, or a supported cuckoo filter; `memcmp` or `dataSize` alone is not enough.

Remove a rejected shape and subscribe only to the data your application needs. A transaction subscription or block metadata may fit the need without carrying a full block. Dedicated Geyser gRPC is appropriate when a legitimate workload exceeds the Shared shape or resource allowance; it does not make invalid parameters valid or repair a slow client.

## Q. How should I collect a gRPC error before reconnecting?

Keep the first error before a reconnect loop replaces it. Record the gRPC status and message from initial metadata and trailers, together with `x-erpc-error-code`, `x-erpc-error-reason`, and `x-erpc-doc-url`. When ERPC supplies a pause, record `x-erpc-retry-after-seconds` and `x-erpc-retry-at` (Unix seconds) as well.

An error can be displayed as `ERPC [STREAM_GUARD_SLOW_READER]: ...`. Paste the displayed error or its code into FAQ search. For the canonical explanation, use [ERPC gRPC FAQ](https://erpc.global/en/faq/grpc/general/). Do not assume a trailer is delivered when a connection ends early.

You can also search by a symptom: slow receiver, disconnected, bandwidth, delivery lag, backlog, pause, retry, invalid argument, resource exhausted, permission denied, IP registration, too many streams, full blocks, or all accounts.

## Q. Which gRPC errors pause my connection, and when should my client stop reconnecting?

A pause is a timed period that ERPC sets after certain errors. The client must not reconnect while it runs.

**What is counted.** These errors are counted, and they share one set of steps:

- Every Subscribe request that ERPC rejects with `ERPC_GRPC_INVALID_ARGUMENT`, `STREAM_GUARD_SHAPE_BLOCKS` or `STREAM_GUARD_SHAPE_ACCOUNTS_ALL`, the first one included. The first counted error is the warning, which starts no pause.
- `STREAM_GUARD_SLOW_READER`, except when the delivery lag arises on ERPC's side: then ERPC closes the stream without counting it, and the error carries no retry time.

These are not counted: reconnecting itself, the four `STREAM_ADMISSION_*` codes (`STREAM_ADMISSION_LIMIT_REACHED`, `STREAM_ADMISSION_IP_NOT_ADMITTED`, `STREAM_ADMISSION_SOURCE_UNAVAILABLE` and `STREAM_ADMISSION_SNAPSHOT_UNAVAILABLE`), and any counted error that happens while a pause is running. A counted error during a pause does not extend the pause and does not move to the next step.

**The steps.** Each counted error moves one step along this order, beginning with the warning:

- Warning: no pause.
- Pause of 60 seconds.
- Pause of 300 seconds.
- Pause of 1800 seconds.
- Pause of 86400 seconds (24 hours). This is the last step: at it, each counted error starts another pause of 86400 seconds.

At the warning step, the next counted error moves to the pause of 60 seconds only when it comes within 1 hour of the warning. A counted error that comes more than 1 hour after the warning is another warning with no pause, and the 1-hour window then runs from that new warning.

A counted error that comes less than 60 seconds after the last error that was counted counts as part of that error and moves no step.

**When the steps go back to the warning.** Once the steps have started a pause, they go back to the warning only after 24 hours with no counted error and no pause, measured from the end of the last pause; the next counted error after that is a warning with no pause. Until then, the next counted error starts the next step immediately, with no warning.

**The egress pause.** `STREAM_GUARD_EGRESS_BUDGET` starts its own fixed pause of 600 seconds. It does not advance the steps.

**Where the end time is.**

- The error that starts a pause carries `Retry after N seconds.` and the headers `x-erpc-retry-after-seconds` and `x-erpc-retry-at` (Unix seconds). The warning carries no retry time.
- When a counted rejected request is the one that starts a pause, it comes back as `STREAM_GUARD_SHAPE_REJECT_PENALTY` with `ResourceExhausted (8)` instead of its own code.
- During a slow-reader or egress pause, a reconnect gets `STREAM_GUARD_PENALTY_ACTIVE` with the remaining time.
- During a pause started by a rejected request, a new connection is closed immediately with no gRPC status and no ERPC code. A request on a connection that is still open can be answered with `STREAM_GUARD_SHAPE_REJECT_PENALTY` and the remaining time again before that connection is closed. The client may never see the end time again, so it must save `x-erpc-retry-at` from the first error that carries it.

| Code | gRPC status | Starts or advances a pause? | What the client must do |
| --- | --- | --- | --- |
| `ERPC_GRPC_INVALID_ARGUMENT` | `InvalidArgument (3)` | Yes, when it rejects a Subscribe request. It is then a counted error under the steps above. | Stop the loop and do not resend the same request. Its own entry below lists what to check. |
| `STREAM_GUARD_SHAPE_BLOCKS` | `PermissionDenied (7)` | Yes. It is a counted error under the steps above. | Stop the loop and do not resend the same request. Its own entry below lists what to check. |
| `STREAM_GUARD_SHAPE_ACCOUNTS_ALL` | `PermissionDenied (7)` | Yes. It is a counted error under the steps above. | Stop the loop and do not resend the same request. Its own entry below lists what to check. |
| `STREAM_GUARD_SLOW_READER` | `ResourceExhausted (8)` | Yes, under the steps above, except when the delivery lag arises on ERPC's side: then ERPC closes the stream without counting it, and the error carries no retry time. | Stop the loop. Its own entry below lists what to check. If it started a pause, do not reconnect before the time in `x-erpc-retry-at`. |
| `STREAM_GUARD_EGRESS_BUDGET` | `ResourceExhausted (8)` | Yes. It starts a fixed pause of 600 seconds outside the steps above. | Do not reconnect before the time in `x-erpc-retry-at`. Its own entry below lists what to check. |
| `STREAM_GUARD_SHAPE_REJECT_PENALTY` | `ResourceExhausted (8)` | Yes. It is the counted rejected request that started a pause. It can come back again with the remaining time on a connection that is still open. | Do not reconnect before the time in `x-erpc-retry-at`. Fix the rejected request and do not resend it unchanged. |
| `STREAM_GUARD_PENALTY_ACTIVE` | `ResourceExhausted (8)` | No. It reports a slow-reader or egress pause that is already running. | Do not reconnect before the time in `x-erpc-retry-at`. |
| `STREAM_ADMISSION_LIMIT_REACHED` | `ResourceExhausted (8)` | No. It has no timed pause. | Close unused streams, then retry. |
| `STREAM_ADMISSION_IP_NOT_ADMITTED` | `PermissionDenied (7)` | No. It has no timed pause. | Its own entry below lists what to check. |
| `STREAM_ADMISSION_SOURCE_UNAVAILABLE` | `Unavailable (14)` | No. It has no timed pause. | Back off normally and try again after a delay. |
| `STREAM_ADMISSION_SNAPSHOT_UNAVAILABLE` | `Unavailable (14)` | No. It has no timed pause. | Back off normally and try again after a delay. |

**What the client must do.** On a counted error, stop the loop, do not resend the same request, and fix it. During a pause, do not reconnect before the time in `x-erpc-retry-at`. Rejected Subscribe requests are counted under the rules above; reconnecting is not.

## Q. What does `STREAM_GUARD_SLOW_READER` mean with `ResourceExhausted (8)` when a slow receiver is disconnected?

ERPC observed insufficient write progress or delivery lag for this stream. Delivery lag alone cannot identify the cause. Check network loss, effective bandwidth, host hardware, and whether the application consumer is keeping up. Narrow the subscribed data and move processing out of the receive loop into a bounded queue. A bounded queue controls memory use but cannot fix a sustained slow consumer. If ERPC provides a retry deadline, wait for it before reconnecting. The question "Why does my gRPC stream stay at a flat speed and fall behind?" below explains the receive window and how to widen it in your client library.

## Q. Why does my gRPC stream stay at a flat speed and fall behind?

A small receive window in your client, or in something between it and ERPC, can cause `STREAM_GUARD_SLOW_READER` cuts and the pauses after them. This answer explains what a receive window is, how to tell whether it limits your stream, and how to widen it per library. The question "Which gRPC errors pause my connection, and when should my client stop reconnecting?" above gives the steps and their lengths.

**What a receive window is.** In HTTP/2, the receiver tells the sender how much data may be sent before the receiver confirms; that amount is the receive window (the HTTP/2 flow control window). One round trip carries at most one window, so speed tops out near the window divided by the round-trip time (the trip to the endpoint and back).

**The other limits.** There are two windows, one per stream and one per connection (all streams on a connection share it), and the smaller one sets the limit. In the HTTP/2 specification, both windows start at 65,535 bytes. The TCP receive buffer (memory for incoming data) limits speed the same way. A proxy, load balancer, gateway, VPN or sidecar in between has its own windows and buffers. A small window or buffer there caps the stream even when your own client windows are large.

**How it looks.** One stream levels off at nearly the same speed however busy the chain is, and its delivery lag grows steadily. ERPC measured from a place with a round-trip time of about 6 ms to the Frankfurt shared endpoint, changing only the window between runs:

- 16 KiB stream window: flat near 2.7 MB/s (16 KiB divided by 6 ms); delivery lag grew about 0.6 seconds a second, reaching 26 seconds in 45 seconds.
- Both 16 MiB: the maximum delivery lag was 14 ms.

If the delivery lag arises on ERPC's side, ERPC closes the stream without counting it, and the error carries no retry time.

**Check it.**

1. Compare the stream's speed and delivery lag with the pattern above.
2. Measure the round-trip time. Multiply the stream's speed by the round-trip time to estimate the window (2.7 MB/s times 6 ms is about 16 KB).
3. Check your client's two windows for a small value, or for automatic growth (the library widening the window) turned off.
4. Check the TCP receive buffer. On Linux, run `sysctl net.ipv4.tcp_rmem net.core.rmem_max`, and see whether your application sets `SO_RCVBUF`, which turns off automatic sizing.
5. Check the windows and buffers of anything in between.
6. If speed has no ceiling and only the lag grows, processing after receipt is slow. The question "What does `STREAM_GUARD_SLOW_READER` mean with `ResourceExhausted (8)` when a slow receiver is disconnected?" above explains keeping the receive loop to reading and moving heavy work into a bounded queue.

**Settings by library.** The examples set both windows to 16 MiB, as in ERPC's measurement. For a library not listed, look for HTTP/2 initial window settings.

**Rust, `yellowstone-grpc-client`.** Without window settings, `GeyserGrpcClient::build_from_shared` uses 2 MiB per stream, 5 MiB per connection. At a 6 ms round trip, these defaults allow more than 300 MB/s, so they do not cap the stream. To set the windows yourself, use the two builder methods and keep `http2_adaptive_window` off. With it on, the window starts at 65,535 bytes and grows itself up to 16 MiB, ignoring your values.

```rust
// Both windows fixed at 16 MiB; keep http2_adaptive_window off.
let client = GeyserGrpcClient::build_from_shared(endpoint)?
    .tls_config(ClientTlsConfig::new().with_native_roots())?
    .initial_stream_window_size(16 * 1024 * 1024)
    .initial_connection_window_size(16 * 1024 * 1024)
    .connect()
    .await?;
```

**TypeScript, `@triton-one/yellowstone-grpc` 5.0.1 or later.** Defaults: 4 MiB per stream, 8 MiB per connection, automatic growth on. The window starts at 64 KiB and grows up to 16 MiB, so the defaults rarely cap the stream. To fix the sizes, pass the third argument with `grpcHttp2AdaptiveWindow: false`.

```typescript
// Adaptive window off, so these fixed sizes are used.
const client = new Client(endpoint, undefined, {
  grpcInitialStreamWindowSize: 16 * 1024 * 1024,
  grpcInitialConnectionWindowSize: 16 * 1024 * 1024,
  grpcHttp2AdaptiveWindow: false,
})
```

**TypeScript, `@triton-one/yellowstone-grpc` 5.0.0 or earlier.** These versions use `@grpc/grpc-js`, whose default window is 65,535 bytes: about 11 MB/s at 6 ms, about 0.66 MB/s at 100 ms. `@grpc/grpc-js` 1.14 or later applies `'grpc-node.flow_control_window'` to both windows; 1.13 applies it to the stream window only, so the connection window stays at 65,535 bytes (about 11 MB/s at 6 ms). On `@grpc/grpc-js` older than 1.14, upgrading to `@triton-one/yellowstone-grpc` 5.0.1 or later is quicker.

```typescript
// Needs @grpc/grpc-js 1.14 or later to widen both windows.
const client = new Client(endpoint, undefined, {
  'grpc-node.flow_control_window': 16 * 1024 * 1024,
})
```

**Go, `google.golang.org/grpc`.** By default the library grows the windows itself, up to 16 MiB. `grpc.WithInitialWindowSize` and `grpc.WithInitialConnWindowSize` fix them and turn automatic growth off; values below 64 KiB are ignored. Set both: one alone leaves the other at 64 KiB.

```go
// Set both; this also turns off automatic window growth.
conn, err := grpc.NewClient(target,
	grpc.WithTransportCredentials(creds),
	grpc.WithInitialWindowSize(16<<20),
	grpc.WithInitialConnWindowSize(16<<20),
)
```

**Python, `grpcio`.** `grpc.http2.bdp_probe` is on by default, so the windows grow themselves; if your code passes `("grpc.http2.bdp_probe", 0)`, remove it. `grpc.http2.lookahead_bytes` sets the read-ahead per stream (default 64 KB); larger values can help on a long round trip.

```python
# If your options include ("grpc.http2.bdp_probe", 0), remove it.
channel = grpc.secure_channel(target, creds, options=[
    ("grpc.http2.lookahead_bytes", 16 * 1024 * 1024),
])
```

**Receive closer.** A shorter round trip lets the same window deliver more, and ERPC's [VPS](https://erpc.global/en/vps/) and [Bare-Metal](https://erpc.global/en/baremetal/) put the client near the endpoint.

**Split with care.** Standard allows 10 streams and Premium 50, per registered source IP. Each stream gets its own stream window, but streams on one connection share one connection window, so a small one still limits speed. When replacing a stream, close the old one first: open streams count toward the limit, and going over returns `STREAM_ADMISSION_LIMIT_REACHED` (its own question is below). Splitting does not speed up slow processing.

## Q. What does `STREAM_GUARD_EGRESS_BUDGET` mean with `ResourceExhausted (8)`?

Aggregate traffic from the IP exceeded the Shared allowance, so related streams can close together. Reduce data volume and unnecessary parallel streams, then wait until the returned deadline. This egress pause is fixed at 600 seconds and does not advance the penalty ladder, although an existing longer pause can remain in effect.

## Q. What does `STREAM_GUARD_PENALTY_ACTIVE` mean with `ResourceExhausted (8)`?

An earlier slow-reader or egress pause is still running, and this response carries the remaining time. Retain the first ERPC error, correct its cause, and do not reconnect before `x-erpc-retry-at`; do not reconnect early to test it. Reconnect attempts are not counted. The question "Which gRPC errors pause my connection, and when should my client stop reconnecting?" above gives the steps and their lengths.

## Q. What does `STREAM_GUARD_SHAPE_BLOCKS` mean with `PermissionDenied (7)`?

The current Shared rule rejects every non-empty `blocks` map, even when the request is narrow. Remove the `blocks` map. Use transactions and/or block metadata when they meet the requirement, but neither is a full-block equivalent. Use Dedicated Geyser gRPC when full blocks are required; this does not imply that a selective-block Shared plan is available.

## Q. What does `STREAM_GUARD_SHAPE_ACCOUNTS_ALL` mean with `PermissionDenied (7)`?

An account-filter entry must select data with `account`, `owner`, or a supported cuckoo filter. `memcmp` and `dataSize` on their own are not sufficient. Narrow the account request to one of those supported shapes, or use Dedicated Geyser gRPC when the full account stream is required.

## Q. What does `STREAM_GUARD_SHAPE_REJECT_PENALTY` mean with `ResourceExhausted (8)`?

This code comes back instead of `ERPC_GRPC_INVALID_ARGUMENT`, `STREAM_GUARD_SHAPE_BLOCKS` or `STREAM_GUARD_SHAPE_ACCOUNTS_ALL` when that counted rejected request is the one that starts a pause; the question "Which gRPC errors pause my connection, and when should my client stop reconnecting?" above says when that happens. It carries `Retry after N seconds.`, `x-erpc-retry-after-seconds` and `x-erpc-retry-at`. During this pause, new connections are closed immediately with no gRPC status and no ERPC code, so the client may never see the end time again. Save `x-erpc-retry-at` from the first error that carries it. Rejected Subscribe requests are counted under the rules above; reconnecting is not. Fix the request and do not resend it unchanged. An early connection drop can look like a transport error, so preserve the first ERPC error before the reconnect loop hides it.

## Q. What does `STREAM_ADMISSION_LIMIT_REACHED` mean with `ResourceExhausted (8)`?

The admission allowance is currently full. Close unused or duplicate streams, check the allowance for the connection, and retry after capacity is available. This response does not by itself mean a timed penalty is active.

## Q. What does `STREAM_ADMISSION_IP_NOT_ADMITTED` mean with `PermissionDenied (7)`?

ERPC could not admit the connection, including after an IP-registration grace period expires. Compare the actual outbound IP with the registered IP and confirm the current access state. Allow a registration change to propagate, without assuming a fixed propagation time, and contact support if the condition persists.

## Q. What does `STREAM_ADMISSION_SOURCE_UNAVAILABLE` mean with `Unavailable (14)`?

ERPC could not determine the source of this connection at that time. Back off and try again after a delay. If it persists, contact support with the first error and its metadata; the response does not establish a fault in the customer's network or server.

## Q. What does `STREAM_ADMISSION_SNAPSHOT_UNAVAILABLE` mean with `Unavailable (14)`?

ERPC could not verify access at that time. Back off and try again after a delay, then contact support if it continues. Re-registering repeatedly, broadening filters, or purchasing Dedicated Geyser gRPC does not repair this availability response.

## Q. What does `ERPC_GRPC_INVALID_ARGUMENT` mean with `InvalidArgument (3)`?

The request contains invalid parameters, options, field types, keys, or filter combinations. Repair the request before retrying, and do not resend the same request. Each Subscribe request rejected with this code is a counted error under the pause rules in the question "Which gRPC errors pause my connection, and when should my client stop reconnecting?" above, shared with `STREAM_GUARD_SHAPE_BLOCKS`, `STREAM_GUARD_SHAPE_ACCOUNTS_ALL` and `STREAM_GUARD_SLOW_READER`. When a request rejected with this code starts a pause, it comes back as `STREAM_GUARD_SHAPE_REJECT_PENALTY` with `ResourceExhausted (8)`. Dedicated Geyser gRPC does not make invalid parameters valid.

The error message ends the code with `(reason: <token>)`, and the same token is returned in the `x-erpc-error-reason` response header. Find the token below to see what to change. Where a limit applies, the error message states it.

| Reason | What it means | What to change |
| --- | --- | --- |
| `too_many_filters` | The request carries more named filters or data slices than one request may. | Use fewer named filters (or data slices) of this type per request. |
| `empty_filter` | A filter has no address, and an empty filter means everything. | Give every filter at least one address (accounts: an account or owner; transactions: an account list). Shared gRPC does not serve an empty filter. |
| `too_many_addresses` | One filter field lists too many addresses. | Use fewer addresses in one filter field; split them across filters or narrow the list. |
| `address_not_allowed` | A filter names an address that shared gRPC does not allow. | Remove that high-volume address from the filter. |
| `filter_name_too_long` | A filter name is too long. | Use shorter filter names (the map keys). |
| `invalid_commitment` | The commitment level is not valid. | Use `processed`, `confirmed` or `finalized`. |
| `invalid_address` | A filter contains an address that is not valid. | Make every address a valid base58 Solana address (no empty strings, spaces or wrong length). |
| `invalid_signature` | The transaction signature value is not valid. | Use a valid base58 transaction signature. |
| `invalid_account_data_filter` | An accounts data filter is not valid. | Fix the `memcmp`, `datasize` and token-account data filters, and keep their number within the limit in the message. |
| `invalid_data_slice` | The data slices are not valid. | Sort data slices by offset and keep them non-overlapping. |
| `blocks_include_not_allowed` | The blocks subscription options are unavailable on shared gRPC. | Omit `blocks` and use a transaction or `blocks_meta` subscription instead. |
| `invalid_token_accounts_mode` | The token accounts mode is not valid. | Use `ALL` (0) or `BALANCE_CHANGED` (1). |
| `invalid_argument` | None of the reasons above applies. | Check the request filter and parameters before retrying. |

## Q. What does `ERPC_GRPC_REQUEST_FAILED` mean when gRPC returns another non-zero status?

The request failed with a valid gRPC status that determines the next step. Repair a request for a status such as `OutOfRange (11)` when a history range is invalid; back off for an availability status such as `Unavailable (14)`. Do not classify every non-zero status as transient or retry every response unchanged.

## Q. Which region do you recommend?

There is no single permanent best region. Solana is global, and the leader role rotates across validators on the leader schedule. Regions with more validators and higher stake see leader slots more often, which can help transactions land faster. The trade-off is that competing traffic also concentrates there, so a less crowded region can sometimes deliver better results depending on your strategy.

As a practical starting point, choose a validator-dense region such as Frankfurt or the US East Coast when steady leader-slot supply matters most, or place yourself near a specific target validator when shortest-path execution is the priority. Use [Validators Solutions](https://validators.solutions/) to understand public Solana network distribution, then use the [ERPC Leader Slot API](https://erpc.global/en/doc/rpc/leader-slot-api/) and real measurements to decide whether single-region, dual-region, or global deployment is appropriate.

[![Solana Mainnet Distribution Report](https://erpc.global/faq/SolanaMainnetReportEN.jpg)](https://validators.solutions/)

## Q. I need latency of at least ~400ms or better.

To achieve latency within approximately 400ms, consider these essential points:

- **Realistic Understanding of Ping Values**: Ping values indicate ideal conditions and do not reflect actual latency in streaming communications, which typically experience around 5 times the ping latency. For example, a ping of 100ms across continents realistically results in about 500ms of latency. Thus, infrastructure must be established within the same region to achieve ~400ms latency.
  - Typical Ping Value Reference:
    - Same network: ~0.1ms
    - Private Network Interconnect (PNI): ~0.2ms
    - Same data center: ~0.3ms
    - Same city: ~1ms
    - Neighboring country: ~5–10ms
    - Intercontinental: ~100–300ms

- **Avoiding the Pitfall of Average Latency**: Solana validators are geographically dispersed globally, and the leader schedule changes randomly with each epoch. Relying on average latency to achieve ~400ms is impractical. Instead, you should precisely track validator schedules in your specific region to identify slots with the lowest latency. To consistently achieve minimal latency, infrastructure across all relevant regions is required. Within the same region, data acquisition can occur in tens of milliseconds, with transmission possible in just a few milliseconds.

- **Tracking the Leader Schedule**: Monitor the leader validator schedule for your region using the **ERPC Leader Slot API (`getLeaderSlots`)**.
  It returns the upcoming leader schedule, stake weight for the current epoch, estimated validator geolocations, and reference ping values, so you can identify the lowest-latency slots to target before they arrive.
  Public map-style data and native RPC APIs are useful for broad network visibility, but they are not precise enough for execution timing. The Leader Slot API fills that gap with the granularity needed for routing and trading decisions.
  - [ERPC Leader Slot API Documentation](https://erpc.global/en/doc/rpc/leader-slot-api/)
  - [ERPC Web Dashboard](https://dashboard.erpc.global/en)

[![Validators Solutions - Solana network data](https://erpc.global/faq/ValidatorsSolutionsEN.jpg)](https://validators.solutions/)

Solana network data: [Validators Solutions](https://validators.solutions/)

## Q. How can I achieve zero-block (zero-slot) trading?

Successfully achieving zero-block (zero-slot) trading requires more sophisticated strategies, as follows:

- **Identifying Opportunity Zones**: Solana validators are distributed globally, and it is physically impossible to achieve optimal latency for every slot. Therefore, monitor validator leader schedules in the region where your infrastructure is located and identify the most favorable opportunity zones. Deploying infrastructure across multiple regions can also be advantageous. For example, Frankfurt is a key region due to its high validator density, resulting in more frequent leader selection and greater trading opportunities.

  Use the **ERPC Leader Slot API (`getLeaderSlots`)** to look up the upcoming leader schedule, stake weight for the current epoch, estimated validator geolocation data, and reference ping values with far greater precision than public map-style data sources or native RPC APIs. This lets you map opportunity zones before the slots arrive and execute near-zero-latency trades.
  - [ERPC Leader Slot API Documentation](https://erpc.global/en/doc/rpc/leader-slot-api/)
  - [ERPC Web Dashboard](https://dashboard.erpc.global/en)

- **Implementing Dedicated Nodes**: If you struggle to compete, consider deploying dedicated nodes. Shared nodes experience latency due to traffic from other users, and thus are not recommended. Furthermore, placing your dedicated node within the same network as your application significantly reduces network latency and optimizes performance.

## Q. Can I use a specific endpoint?

To maintain a low-latency environment, our system automatically selects the closest available node. If you wish to use a specific endpoint, we recommend renting a server located nearest to that endpoint.

## Q. I'm getting a 401 error. Why?

To maintain a low-latency environment, we implement IP restrictions. If you don't have a subscription or your IP isn't registered, you'll receive a 401 error.

Please double-check if your registered IP matches your current access IP.

## Q. I'm getting a 429 error. Why?

You have reached your plan’s connection limit.

If you encounter this error, consider upgrading your plan. If you require more connections than our premium plan provides, a dedicated gRPC node would be more suitable.

## Q. Why are dedicated endpoints faster?

Shared endpoints are used by multiple customers who share the same resources. As traffic increases, latency tends to occur. Server resources have physical limits, and the amount of work they can handle is finite. When too many requests arrive at the same time, they must be processed sequentially, which results in slower response times.

Although we take various measures to optimize performance even on shared endpoints, with dedicated endpoints you are the sole user of the resource. This means you are completely unaffected by other users, ensuring consistently stable and fast responses.

In addition, dedicated endpoints provide communication options without TLS, such as HTTP. By skipping the TLS handshake, communication becomes even faster compared to HTTPS.

## Q. Will my price go up after I subscribe?

While your subscription stays active, the price you locked in at signup remains in effect. Environments that hold up under Solana's real-time workload are globally scarce, and we plan to step up prices in line with growing hardware and network demand. Higher-spec configurations and high-demand regions sell through fastest, so locking in today's price is the most cost-efficient choice over the long run.

## Q. I want to pay with crypto

Crypto payments are available from the ERPC Web Dashboard when your registered billing address country is one of the EU member countries. If every payment card registered on your account was issued outside the EU, crypto payments are not available. You can use SOL, USDC, or EURC to purchase ERPC Credits.

Use those ERPC Credits to activate or continue ERPC plans. Open the dashboard, choose crypto payment, send the transfer from your wallet, and the dashboard will verify the transaction and apply the credits to your account.

Supported countries: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden.

For countries not on the list, please pay by credit card.

[ERPC Web Dashboard](https://dashboard.erpc.global/en)

## Q. How can I achieve the lowest possible latency?

We highly recommend combining a dedicated gRPC node with our [Bare-Metal server](https://erpc.global/en/baremetal/).

Both share the same network, allowing for private, zero-distance communication without traversing the internet. This setup achieves extremely low latency, typically around 0.1ms ping.

Please contact us through the ERPC Web Dashboard for further details.

[ERPC Web Dashboard](https://dashboard.erpc.global/en)

🔗 [ERPC Web Dashboard](https://dashboard.erpc.global/en)

## Q. What is the latency like?

Latency varies depending on the measurement method and your specific usage environment. Rather than focusing on exact numerical values, it's crucial to ensure that the latency meets your actual operational requirements.

We provide easy-to-use tools in TypeScript and Rust for measuring latency.

- [Solana Stream SDK - ValidatorsDAO GitHub](https://github.com/ValidatorsDAO/solana-stream)
- [SLV (English)](https://slv.dev/en)

## Q. Is this RPC (gRPC, Shreds) faster than others?

We build for speed at every tier, and we're glad to have that measured side-by-side with any other provider. Results can shift with region, whether you're on a shared or dedicated endpoint, the protocol you use (WebSockets, gRPC, or Shreds), and the programming language your client runs in.

If you find our service slower, please let us know the specific conditions and competitors you've compared it against through the ERPC Web Dashboard. We will identify the cause and improve the speed further.

[ERPC Web Dashboard](https://dashboard.erpc.global/en)

## Q. Which plan offers the fastest performance?

Generally, our highest-tier plan provides the fastest performance due to superior CPUs, higher memory capacities, and robust hardware configurations.

We also offer customized solutions if you require even more powerful servers, but our standard plans are designed to deliver optimal price-to-performance ratios.

We are confident in providing world-class performance at every price level. If you find a faster provider within the same price range, please let us know so we can investigate and make improvements.

## Q. I'm experiencing high latency. What can I do?

Latency heavily depends on your proximity to the endpoint. We recommend accessing from a server near the provided endpoint. The fastest connections are achieved with our [Bare-Metal server](https://erpc.global/en/baremetal/) and [VPS service](https://erpc.global/en/vps/).

## Q. Which is the fastest: WebSockets, gRPC, or Shreds?

Feedback from our customers consistently ranks speed as follows:

**Shreds > gRPC > WebSockets**

Please share your experience if you observe different results.

## Q. Latency isn't what I expected.

Performance varies depending on the programming language used. Generally, language speed ranks:

**Rust > Go > TypeScript (JavaScript) > Python**

For detailed comparisons, see:

[Programming Language Speed Comparison](https://niklas-heer.github.io/speed-comparison/)

For maximum performance, we strongly recommend using Rust.
