Skip to main content

RPC Node Infrastructure Guide

Complete guide to deploying production-grade RPC infrastructure for Nexis Appchain. Learn how to run op-geth, configure proxyd load balancer, implement caching, and scale horizontally.

What is an RPC Node?

RPC (Remote Procedure Call) nodes serve blockchain data to applications without participating in consensus:

Serve dApps

Provide data to decentralized applications

No Staking Required

Run without capital requirements

Scalable

Easily scale horizontally

Monetizable

Offer as a service to developers

RPC Node vs Validator

Architecture Overview

Hardware Requirements

Per RPC Node

Load Balancer Server

Cost Estimates

Single RPC Node (Hetzner):
Production Setup (3 RPC nodes + Load Balancer):

Installation

1. System Preparation

2. Install op-geth

3. Install op-node

4. Install proxyd (Load Balancer)

Configuration

RPC Node Configuration

op-geth Config

op-node Config

Load Balancer Configuration (proxyd)

Redis Configuration

Running with Docker Compose

Start the Infrastructure

SSL/TLS Configuration

Using Certbot (Let’s Encrypt)

Advanced Caching Strategies

Multi-Level Caching

Redis Optimization

Rate Limiting

Per-IP Rate Limiting

API Key Rate Limiting

Monitoring and Alerting

Prometheus Configuration

Alert Rules

Grafana Dashboards

Horizontal Scaling

Adding More RPC Nodes

Kubernetes Deployment

Performance Tuning

op-geth Optimization

System-level Optimization

Backup and Disaster Recovery

Automated Backup Script

Cost Optimization

Reduce Bandwidth Costs

Archive Node Optimization

Troubleshooting

High Latency

Out of Sync

Resources

Validator Node

Run a validator node

RPC API Reference

Complete RPC methods

Infrastructure Overview

Architecture details

Discord Support

Get help from operators

Performance Tip: Use SSD/NVMe storage and allocate at least 8GB to geth cache for optimal performance.
For production deployments, consider using managed Kubernetes services (GKE, EKS, AKS) for easier scaling and maintenance.
Monitor your bandwidth usage closely. RPC nodes can use 5-10 TB/month under heavy load. Use caching aggressively!