Logo
RPC Assistant

What Is Node Access in Solana RPC Services?

摘要

Node access in Solana RPC services refers to the type and level of connectivity your application has to the Solana blockchain via RPC endpoints. It determines how you interact with the network, including request limits, supported methods, latency, and reliability. Understanding the different access models—shared, dedicated, and archive—is essential for choosing the right infrastructure for your dApp's performance and scaling needs.

Node Access in Solana RPC Services Decision Checklist

Before selecting a node access plan for your Solana project, consider the following:

  • Determine your throughput needs: How many requests per second does your application require? Shared nodes may suffice for low volume, but high-throughput dApps likely need dedicated access.
  • Check required RPC methods: Some methods, like getProgramAccounts with large filters, may be restricted on shared nodes. Archive methods require archive node access.
  • Evaluate latency sensitivity: Trading or gaming applications need low latency; dedicated nodes with closer geographic placement can help.
  • Consider data depth: Do you need historical state (archive) or only recent data (full node)? Archive access is essential for explorers and analytics.
  • Budget for scaling: Shared access is cost-effective for development, but dedicated nodes provide predictable performance for production.
  • Review provider SLAs: While we avoid absolute claims, understand the terms around rate limits, fair use, and support.

What Is Node Access in Solana RPC Services?

Node access defines how your application connects to the Solana network through an RPC service. In practice, it means the type of node behind the endpoint: shared (multitenant), dedicated (single-tenant), or archive (full historical data). Each model affects request limits, supported APIs, latency, and reliability.

For Solana, RPC services handle transactions, query account states, and read on-chain data. The node access type determines which RPC methods are available and how many requests you can send without hitting rate limits.

Types of Node Access for Solana

1. Shared Node Access

A shared node is used by multiple customers concurrently. The provider manages the infrastructure and rate-limits each consumer to ensure fairness. Shared access is ideal for development, low-traffic dApps, and personal projects. However, it may have restrictions on heavy methods and can suffer from noisy-neighbor issues during peak usage.

2. Dedicated Node Access

A dedicated node gives you exclusive access to a Solana validator or RPC node. You control the configuration, resource allocation, and can customize the node for your workload. Dedicated access offers consistent performance, higher rate limits, and supports any RPC method without shared throttling. It’s recommended for production dApps, DeFi protocols, and data services.

3. Archive Node Access

An archive node stores the entire historical state of Solana, allowing queries for any past slot or account state. Archive access is necessary for block explorers, analytics platforms, and historical data auditing. It typically requires dedicated infrastructure due to storage and compute demands.

Shared vs Dedicated vs Archive Node Access

CriterionWhat to checkWhy it matters
ThroughputMax RPS, concurrent connectionsHigh-volume applications can be throttled on shared nodes; dedicated provides consistent capacity.
Supported methodsgetProgramAccounts, getConfirmedBlocks, historical methodsArchive methods only work with archive access; heavy methods may be blocked on shared.
LatencyP95 response time, node locationDedicated nodes can be deployed in regions closer to your users, reducing latency.
Data freshnessBlock propagation delayDedicated nodes can be tuned for faster block receipt, crucial for trading.
CostMonthly subscription vs pay-as-you-goShared is cheaper but less predictable; dedicated costs more but offers isolation.
CustomizationConfigurable node flags, pruningDedicated nodes allow custom flags like --rpc-pubsub-enable-vote-subscription for specific use cases.
FailoverProvider redundancyDedicated nodes can be configured with failover strategies; shared nodes rely on provider infrastructure.

When to Use Each Access Type

Choose Shared Access When:

  • Prototyping or building a proof-of-concept
  • Running low-traffic applications (few thousand requests per day)
  • Budget is tight and performance guarantees are not critical
  • You don't need archive data or heavy RPC methods

Choose Dedicated Access When:

  • Your dApp has real users and requires consistent performance
  • You need higher rate limits and low latency
  • You rely on resource-intensive methods like getProgramAccounts with filters
  • You want to avoid noisy-neighbor effects during peak usage

Choose Archive Access When:

  • You operate a block explorer, wallet history, or analytics tool
  • You need to query historical account states or blocks
  • Compliance or auditing requires access to past data

Key Considerations for Production

When moving to production, evaluate how your choice of node access affects your application’s reliability:

  • Rate Limiting: Understand the provider’s rate limits. Shared nodes often impose per-second or per-minute caps. Dedicated nodes eliminate these limits or provide much higher thresholds.
  • Method Support: Some providers restrict getProgramAccounts on shared nodes because it can be CPU-intensive. Check whether your critical methods are allowed.
  • WebSocket Support: For real-time updates (e.g., transaction confirmation, account changes), ensure the access type supports WebSocket connections with stable subscriptions.
  • Geographic Distribution: Dedicated nodes can be deployed in the same region as your application servers to minimize latency.
  • Backup and Failover: Consider using multiple endpoints from different providers or deploying a dedicated node with a fallback shared endpoint.

Example: Checking Node Access via RPC

You can verify your node access type by calling getIdentity and seeing if the response matches your allocated node. Here’s a simple curl command:

curl -X POST http://api.mainnet-beta.solana.com -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getIdentity"
}
'

If using a dedicated node, the identity will be fixed to your node. On a shared access, the identity may vary or show the provider’s node.

For archive node access, test with a historical method like getBlock for an old slot:

curl -X POST http://api.mainnet-beta.solana.com -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getBlock",
  "params": [500]
}
'

If successful, you have archive access. Otherwise, expect an error indicating the slot is not available.

Frequently Asked Questions

Q: What is the difference between node access and RPC endpoint?

An RPC endpoint is the URL you connect to; node access defines the underlying infrastructure (shared, dedicated, archive). The same endpoint can serve different access levels depending on your plan.

Q: Can I change my node access type later?

Yes, most RPC providers allow upgrading from shared to dedicated or adding archive access. Check with your provider for migration steps.

Q: Does node access affect transaction confirmation speed?

Indirectly. Dedicated nodes can have lower latency and faster block propagation, potentially reducing confirmation times. However, finality depends on the Solana network itself.

Q: How do I know which node access type my provider offers?

Review the provider’s documentation or contact support. For OnFinality, see our Solana RPC endpoint page and pricing for details.

Key Takeaways

  • Node access in Solana RPC services determines request limits, supported methods, latency, and reliability.
  • Shared access is for development and low traffic; dedicated access for production with consistent performance; archive for historical data.
  • Evaluate your throughput, method needs, and latency requirements before choosing.
  • Always test your critical RPC methods with the intended access type using simple curl or SDK calls.
  • For production, consider dedicated nodes and plan for failover to ensure uptime.
RPC 知识库

相关 RPC 内容

Testnet Rpc

Sui 测试网:RPC 端点、水龙头和设置的完整开发者指南

# Sui 测试网:RPC 端点、水龙头和设置的完整开发者指南 Sui 测试网是一个预发布环境,开发者可以在其中部署和测试 Move 智能合约、dApp 和基础设施,然后再上线主网。与频繁重置的开发网不同,测试网提供更稳定的网络和持久状态,非常适合集成测试和发布验证。本指南涵盖连接 Sui 测试网、...

Network Rpc

什么是 Solana API,如何使用它?

# Solana API 指南:RPC 端点、方法及最佳实践 Solana API 是一个 JSON-RPC 接口,允许开发者与 Solana 区块链交互。它提供了读取网络状态、发送交易、模拟执行以及订阅实时更新的方法。本指南涵盖了核心 API 方法、如何连接到不同集群,以及为生产应用选择可靠 RP...

Rpc Provider Selection

如何为你的 dApp 选择合适的 Starknet RPC 提供商

# 如何为你的 dApp 选择合适的 Starknet RPC 提供商 Starknet 是以太坊上的一个有效性 Rollup(ZK-rollup),提供高吞吐量、低 Gas 成本和以太坊级别的安全性。要与 Starknet 交互,你的 dApp 需要一个可靠的 RPC(远程过程调用)提供商。本指南...

Network Rpc

Optimism RPC:如何连接OP主网并选择最佳端点

# Optimism RPC:如何连接OP主网并选择最佳端点 Optimism是以太坊领先的Layer 2扩容解决方案,采用Optimistic Rollups技术,在继承以太坊安全性的同时提供低成本、快速的交易。要与OP主网交互——无论是发送交易、查询链上数据还是构建dApp——您需要一个Opti...

Rpc Provider Selection

您能否为Web3团队推荐一种灵活且经济高效的RPC解决方案?

为从原型扩展到生产的Web3团队选择兼顾灵活性和成本的RPC提供商至关重要。本文概述了需要评估的关键因素——定价模型、功能集、网络覆盖和支持——并提供了一个决策框架,帮助您选择适合工作负载且不会过度支付的解决方案。...

Rpc Provider Selection

如何为生产级 dApp 选择 TON RPC 提供商?

# 如何为生产级 dApp 选择 TON RPC 提供商? 开放网络(TON)是一个为大规模采用而设计的分片 Layer 1 区块链,为 Telegram Mini Apps、DeFi 协议和支付系统提供支持。选择合适的 TON RPC 提供商对于确保低延迟、高可靠性以及访问 ADNL 和归档数据等...

永远不用担心基础设施

OnFinality 消除了 DevOps 的繁重工作,让您能够更聪明、更快地构建。

开始