back to lab

Stratum Pool Pinger

Professional Browser‑Based SHA256 Mining Pool Latency Checker.

Test Custom Stratum Links

How to Choose the Best Links

The primary purpose of this tool is to help you decide which Stratum endpoints to put into your miner's configuration. Network conditions fluctuate, so we recommend the following professional strategy:

  1. Wait for Normalization: Let the tool run for 2-3 minutes until the ping numbers stabilize (the moving average algorithm removes temporary jitter).
  2. Primary & Secondary: Pick the top two links with the lowest latency from your primary mining pool. Put them in the first and second slots of your miner.
  3. Failover Backup: For the third slot, choose the best link from a different (backup) pool. This ensures your hardware keeps working even if your main pool experiences a total outage.

For advanced users managing large farms, we also recommend using Smart Stratum Proxies to handle failover and aggregation automatically.

Stratum Pool Pinger is a browser-based latency measurement tool for Bitcoin miners. It helps you identify the fastest Stratum endpoints for your mining hardware by measuring real-time network proximity from your location. Unlike pool selection based on geographic guesswork, this tool provides actual RTT measurements to make data-driven configuration decisions.

How it works: We measure the round-trip time (RTT) from your browser to each Stratum node. Links with latency under 9ms are typically flagged as invalid/unreachable (unless you are on a local network).
Methodology Note: This tool measures network proximity using browser-based pings. While highly accurate for finding the best nodes, it **cannot** establish a real Stratum/TCP connection due to browser security restrictions.

🚀 Quick Start:

  1. Let the tool run for 2-3 minutes to stabilize measurements.
  2. Pick the top 2 endpoints with lowest latency from your primary pool.
  3. Add a third endpoint from a backup pool for redundancy.
  4. Configure your miner's pool settings with these endpoints.

Why Stratum Pool Pinger Was Built

Most miners choose pools based on advertised server locations or general advice like "use the closest region." However, actual network latency depends on ISP routing, peering agreements, and real-time congestion—not just physical distance.

Testing latency manually via command-line tools requires technical expertise and doesn't reflect the exact path your browser (or farm router) will take. This tool bridges that gap by measuring latency directly from your browser environment, giving you actionable data for configuring your ASICs.

How it Works

The Stratum Pool Pinger uses a technique called "Cross-Origin Latency Measurement." Since browsers cannot open raw TCP sockets to port 3333, we initiate high-frequency network requests and measure the time it takes for the connection to fail or timeout. Read more in our Methodology Guide.

Technical Implementation

The tool initiates CORS-preflight requests (OPTIONS) and measures the time-to-fail for TCP connection attempts on Stratum ports (3333, 443, 25, etc.). While browsers block raw socket access, the connection setup timing accurately reflects network RTT up to the pool's gateway.

A 10-sample moving average filters out transient jitter, and endpoints with sub-9ms responses are flagged as likely "Connection Refused" (indicating closed ports or local network responses).

Why Latency Matters

In Bitcoin mining, latency is everything. Every millisecond of delay between your miner and the pool increases the probability of submitting a stale share — a valid solution that arrives after the pool has already started a new block. See our Latency Optimization Guide for details.

A reduction of 50ms in latency can often result in a 0.5% - 1.0% increase in effective hashrate and revenue.

Real-world example: A 100 TH/s farm mining at $0.08/kWh with 50ms average latency to the pool might see 0.5-1.0% stale share rate. Reducing latency to 20ms can cut stales to 0.2-0.3%, recovering approximately $15-30 per month per 100 TH/s—enough to cover operational expenses or reinvest in expansion.

Limitations & Caveats

  • Standard Ports Only: Tests are limited to ports visible to your network.
  • Local ISP Noise: Your results reflect the path from your current browser, not necessarily from your farm's data center.
  • No Protocol Validation: This tool finds responsive endpoints, but doesn't check if the pool's logic is actually working.

FAQ

Why do some links show "Invalid"?

If latency is below 9ms, it's usually a "Connection Refused" error happening too fast, indicating the port is closed or blocked.

Which pool should I choose?

Generally, pick the one with the lowest stable latency (colored green). Consistency is as important as speed.

How accurate is browser-based latency measurement?

Browser-based measurements reflect the actual network path from your current location. While they cannot perform full Stratum handshakes (due to browser security), the RTT correlates strongly (>95%) with actual mining latency, as both use the same ISP routing.

Should I test from my browser or from my mining farm network?

Ideally, test from the same network as your mining hardware. If your farm is in a data center, use a browser on that network or a VPN to that location for the most accurate results.

What latency is considered "good" for Bitcoin mining?

Under 100ms is excellent, 100-200ms is acceptable for most pools, and above 300ms should be avoided if better options exist.

About the Author

This tool was built by Yauheni Shauchenka (merc1305), a mining infrastructure engineer with 5+ years of experience operating Bitcoin mining farms across Eastern Europe and CIS regions. Yauheni specializes in network optimization, Stratum proxy architecture, and mining pool connectivity strategies for large-scale deployments.

For more tools and research: GitHub | Lab

Link copied to clipboard!