Back to POA Engineering
Benchmarks Verifiable PIR Plinko & OHTTP Ethereum L1 Comparison

Private RPC in Under 1 Millisecond: Why Verifiable PIR Works on POA and Breaks on Ethereum L1

Read privacy is still missing from most blockchains. Vitalik Buterin's Plinko PIR tutorial (opens in a new tab) and the Ethereum Foundation PSE private-reads research (opens in a new tab) both point to single-server PIR as the path forward. We benchmarked POA's live Subtree-Cut Verifiable PIR stack from 439 accounts up to 10,000,000 accounts. The numbers show why the same primitive fits inside a 24 MiB personal container on POA while hitting hard state-model limits on Ethereum Mainnet.

Measured: 2026-12-01 Server HW: AMD EPYC 9375F (32C/64T, AES-NI) Record: PoaAccountRecord (233 B) + PoaAccountSmt (Keccak-256) Live Endpoints: https://pir.poa.net & https://rpc.poa.net (Block 95)
Live Crypto + SMT Overhead
< 1 ms
202.8 ms Direct PIR and 209.1 ms OHTTP vs 198.0 ms plain https://rpc.poa.net (p50 over WAN).
Live Client Adapter Memory
24.1 MiB
Even at 10M accounts, hints + TopCap take 75 MiB (6.8x below Railway's 512 MiB limit).
Single-Server Throughput
52.0k/s
Verified PIR answers/sec at 1M accounts on one 32T EPYC node (7,593/s at 10M).
HintInit Download Gap vs ETH
291x
POA 1M (539 MiB, USDC verified) vs ETH Mainnet block 23,876,768 (153.1 GiB / 164.4 GB, unverified); still 36.9x smaller at 10M.

1. The HintInit Wall: POA vs Ethereum Mainnet (Log Scale)

In client-preprocessing PIR (Plinko, ePrint 2024/318 (opens in a new tab); see also Vitalik Buterin's L1 privacy roadmap (opens in a new tab)), HintInit must run strictly on the client. Outsourcing preprocessing to the RPC operator exposes the secret hint seed and breaks read privacy. Below we compare POA's measured Subtree-Cut stack against an Ethereum Mainnet Reth snapshot from plinko-rs (opens in a new tab) at block 23,876,768. That snapshot holds 1,834,095,877 state entries (351.7M accounts plus 1.482B storage slots). Ethereum state has grown further since then, making these numbers a lower bound.

HintInit Client Download Size (Log10 Scale)

Bytes a client must stream once to construct private hints. POA 1M (0.54 GiB, verified) vs Ethereum Mainnet block 23,876,768 (164 GB, unverified).

POA Chain 77 (233 B native USDC, 1-RTT SMT proof). Ethereum block 23,876,768 (Subtree-Cut; needs binary SMT). Ethereum block 23,876,768 (Plinko Index PIR + 91 GB map, unverified).
The Ethereum USDC Trap: Even an accounts-only cut on Ethereum (351.7M accounts, 25.7 GiB to download, ~6.8 hours on 1 vCPU) still cannot prove a USDC or USDT balance. On Ethereum, ERC-20 balances live inside the 1.482-billion-slot storage trie. On POA, USDC is a native field inside PoaAccountRecord, committed directly under consensus accounts_root.

2. Live Production E2E: Private RPC Feels Identical to Plain RPC

Local microbenchmarks hide network jitter. We ran 25 sequential keep-alive JSON-RPC calls per method over Cloudflare against live Chain 77 (block 95, 439 accounts). We compared plain https://rpc.poa.net (no read privacy) against a local 2d-pir-rpc-adapter talking to live https://pir.poa.net over Direct HTTPS and over RFC 9458 OHTTP (opens in a new tab) (HPKE encryption plus Binary HTTP framing).

End-to-End JSON-RPC Latency (p50 solid, p95 whisker)

Every PIR lookup verified membership or non-membership against consensus block 95 stateRoot.

Plain https://rpc.poa.net (no privacy) PIR Direct HTTPS (https://pir.poa.net) PIR + OHTTP (https://pir.poa.net/pir/v1/ohttp)
Where Does the Time Actually Go?

Even at 1,000,000 accounts, local PIR + Keccak-256 SMT verification is under 0.7% of WAN RTT.

Live Adapter Footprint (1 sync thread): Cold start over Cloudflare completed in 3.69 s (Direct) and 3.28 s (OHTTP), holding 24.1 to 25.1 MiB RSS after 78 verified queries. Adding an external third-party OHTTP relay in another region adds one extra network hop (typically +15 to 50 ms).

3. Interactive Scale Explorer: 439 to 10,000,000 Accounts (EPYC 9375F)

Every scale point below ran POA's exact 2D consensus record layout (POA_ACCOUNT_RECORD_BYTES = 233, PoaAccountSmt 256-bit Keccak-256, 2-level FlatB PIR with kappa = 32, Q = 256) on a single AMD EPYC 9375F host. Select any network size to inspect its geometry, container fit, latency, and delta efficiency.

Select Network Scale (Active POA Accounts)

Click a scale point to highlight it across all three curves and inspect exact hardware measurements.

Client Memory vs 512 MiB Railway Limit
Server Throughput (EPYC 9375F, req/s, log)
100-Account Block Delta (Sparse vs Dense)
Accounts D / B DB Size Hint+Cap Init 1T / 32T p50 (prep/srv/ver) Up / Reply Srv 32T 100-Acct Delta

4. Why State Model Decides Everything: 1-RTT Proof vs Deep Trie

In his Plinko tutorial (opens in a new tab), Vitalik shows that fetching Merkle branches through PIR multiplies costs by 3 + sqrt(2) ~ 4.414x on a binary tree. The Ethereum Foundation PSE COSIC analysis (opens in a new tab) estimates ~48x PIR read overhead on today's hexary RLP MPT versus ~9x on a binary tree. Ethereum has since moved from the earlier Unified Binary Tree (EIP-7864 (opens in a new tab)) to the Partitioned Binary Tree (EIP-8297 (opens in a new tab)). Offline state migration runs through EIP-8347 (opens in a new tab). PBT shrinks proofs and removes RLP, yet full EVM state still exceeds 1.83B entries plus chunked bytecode. State also grows 30 to 50 GB/year (The Verge (opens in a new tab), The Purge (opens in a new tab)). POA avoids those bottlenecks by design.

ETHEREUM L1: 1.83B ENTRIES

Hexary MPT Today, Zoned PBT (EIP-8297) Next

Today, reading USDC traverses the account trie to the USDC contract, then a 16-way RLP storage trie. Under future EIP-8297 PBT (opens in a new tab), zones group each contract's storage under one key_hash(address) subtree. ERC-20 USDC balances still sit in the storage zone, not in each user's account leaf. Private L1 reads still require a binary-tree zkVM sidecar (Andy Guzman, EthBoulder 2026 (opens in a new tab)) or an unverified flat index with 91 GB of mappings.

POA CHAIN 77: FLAT PAYMENT SMT

Native USDC in 233-Byte Record + Subtree-Cut

Cutting the 256-bit Keccak-256 accounts_root SMT at depth D turns every prefix subtree into one fixed-size PIR bucket. One PIR query returns all accounts under that prefix; the client folds the bucket in 0.1 to 2.2 ms and checks equality against public TopCap[p] anchored to consensus stateRoot.

5. Engineering Findings & Next Optimizations

Running the exact production code at 1M and 10M accounts surfaced four concrete engineering conclusions. We track the three code optimizations in 2d#119 (opens in a new tab):

Client-Side Execution: Browser WASM & Personal Containers

Two Practical Ways to Run Verifiable PIR

Hint generation and lookup verification always stay on the client side. POA web apps and SDKs can run plinko::subtree directly in the browser via zero-import wasm32-unknown-unknown (1.6 to 11 MiB in IndexedDB for 439 to 100k accounts). For external wallets such as MetaMask and Rabby, users deploy a personal 2d-pir-rpc-adapter container on Railway, Fly.io, or local Docker (see the Private RPC guide).

Tracked in 2d#119: 1.8x Smaller Database

Layout Auto-Sizer Optimization

fit_layout_for_accounts in server_sync.rs currently scales D first and rounds B up to a power of two. At 1M accounts that selects D=18, B=16 (954 MiB DB, 8 MiB TopCap) instead of recommended_bucket_capacity's D=16, B=37 (539 MiB DB, 2 MiB TopCap: 1.8x smaller download and 4x smaller TopCap).

Tracked in 2d#119: Fast Container Wake-Up

Persistent PLNKSMTV Checkpoints Past 100k

Memory stays compact even at 10M accounts (75 MiB checkpoint), well inside a 512 MiB container. Cold 1-vCPU HintInit crosses 62 seconds at 1M accounts. Persisting the PLNKSMTV checkpoint and retired-hint WAL on a volume lets sleeping Railway containers wake in ~100 ms and catch up via 4.87 KiB deltas (3 ms).

Tracked in 2d#119: Tail Latency

Why Server p99 Jumps at 10M (33.5 ms vs 1.11 ms p50)

With 2-level PIR at kappa = 32, about 3.1% of queries miss Level 0 and fall back to Level 1, which scans smaller blocks and performs more XOR work. Raising kappa to 64 halves the fallback rate to 1.56% at minimal extra hint memory.

6. Reproduce Every Number Yourself

Both benchmarks live in poanetwork/2d (opens in a new tab) under native/pir_rpc_adapter (commit 4e412590, PR #129). The scale sweep ran on AMD EPYC 9375F (32C/64T, Linux, x86-64 AES-NI hardware acceleration, Rust --release). The live E2E run executed from a macOS arm64 client over WAN to Cloudflare against Chain 77 block 95 (n = 25 keep-alive queries per mode).

1. Live E2E: https://rpc.poa.net vs https://pir.poa.net
# Verify public PIR origin health + epochs
curl -sS https://pir.poa.net/healthz
curl -sS https://pir.poa.net/pir/v1/2d/epochs

# Build local adapter (commit 4e412590) and run live Direct + OHTTP comparison
cargo build --release \
  --manifest-path native/pir_rpc_adapter/Cargo.toml \
  --bin 2d-pir-rpc-adapter

python3 native/pir_rpc_adapter/scripts/bench_live_e2e.py \
  --queries 25
2. Scale Sweep: 439 .. 10M Real 233 B Accounts
# Build PoaAccountRecord + PoaAccountSmt scale benchmark (commit 4e412590)
cargo build --release \
  --manifest-path native/pir_rpc_adapter/Cargo.toml \
  --bin bench_poa_pir

BIN=./native/pir_rpc_adapter/target/release/bench_poa_pir
for n in 439 10000 100000 1000000; do
  "$BIN" --num-keys "$n" --build-threads 32
done

# 10M accounts (4.15 GiB DB, skips 1T HintInit)
"$BIN" --num-keys 10000000 --build-threads 32 --skip-1t-init

References & Further Reading

Primary cryptographic papers, Ethereum research, and open-source implementations referenced in this benchmark:

Questions, reproductions, and peer review

Ran bench_poa_pir on your own machine, spotted an edge case, or want to propose a benchmark scenario? Leave a comment in the GitHub discussion thread or share this report.