Skip to content

bench 268: Solana reads with endpoint fallback (Chainstack, Alchemy, Helius) - #2535

Merged
Flotapponnier merged 1 commit into
devfrom
fix/tfq-rpc-fallback
Sep 19, 2026
Merged

Flotapponnier merged 1 commit into
devfrom
fix/tfq-rpc-fallback

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

The bench's Solana reads (about 29,000 calls a day: getTransaction on every drawn swap, getAccountInfo on pools and owners) all went to Helius's free tier, 0.9 M of its 1 M monthly credits, with a sleep on every 429 and the draw lost after four. The RPC client now takes a list: SOLANA_RPC comma-separated, the Helius key appended when set, the public node last; a rate limit or a transport error moves to the next endpoint at once, the sleeps only apply once every endpoint was tried.

Production order, measured tonight on the harness's own calls: Chainstack's shared Solana node (paid for the keyed-RPC cohort, no per-call budget, getTransaction jsonParsed v0 in 250 ms, 25 parallel calls without a refusal), then Alchemy's free app for the overflow, then Helius. The WebSocket feed stays on the public node. Robinhood Chain keeps QuickNode first (a 1,000-block log range in 0.13 s) with Chainstack behind it (1.3 s for the same range; Alchemy's free app answers 403 on that chain).

Deploy: harness (deploy recipe carries the two Chainstack placeholders).

🤖 Generated with Claude Code

https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D

…LANA_RPC comma-separated, Helius appended, public node last; the next endpoint on a rate limit or a transport error instead of a sleep): production runs Chainstack's shared node first, Alchemy's free app for the overflow, Helius third; Robinhood Chain gets Chainstack behind QuickNode

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D
@Flotapponnier
Flotapponnier merged commit c7c785b into dev Sep 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants