Scale, Streaming & Governance · Verified-Row Billing ($0 on Empty)

Per-Domain Rate Limiting, Circuit Breakers & Backoff for Safe Bulk Enrichment

Speed without traffic hygiene destroys enrichment reliability: an unthrottled 100-thread worker pool hammering one domain triggers immediate 429 blocks, IP bans, and cascading failures across your entire batch. Batch-Anything builds per-domain token buckets, circuit breakers, and row-level exponential backoff into every job.

Try Live in 5 Seconds (No Signup) Connect AI Agent via /mcp Browse All 24 Guides
1,535.28 rows/s
Measured 10,000-row streaming throughput (Gauntlet)
8.03 MB
Peak Python heap at 10k rows (tracemalloc constant RAM)
$0.00
Billed on empty, invalid, 404 & fake-200 rows (30% dirty test)
10% / 100.0%
Same-tenant repeat fee / Cross-tenant cache gross margin

Why Naive Parallelism Turns 10k-Row Runs Into 429 Meltdowns

Bulk CSVs are rarely uniformly shuffled — a 20,000-row URL patrol or SKU catalog often contains hundreds of consecutive rows pointing to the exact same host or public registry endpoint. Unbounded worker pools slam that host in milliseconds, triggering HTTP 429 Too Many Requests and wasting minutes on stalled sockets.

When a single upstream origin goes down completely, scripts without circuit breakers continue queuing thousands of doomed requests against the dead host, choking worker threads needed for healthy domains.

Three-Tier Traffic Safety Built Into the Waterfall Executor

Per-Domain Token Bucket (per_domain_rps)

Every hostname receives an independent token bucket, letting your job sustain high aggregate throughput (1,535.28 rows/sec measured in Loop 3) across diverse domains while remaining strictly polite to each individual origin.

Per-Host Circuit Breaker

Repeated consecutive failures or blocks on a single host automatically trip that host's circuit breaker, fast-failing remaining dead rows to dead_letter_rows ($0 billed) without starving healthy domains.

Row-Level Exponential Backoff on Transient 429/502/503/504

Transient rate-limit or gateway hiccups retry cleanly with jittered exponential backoff — verified in Loop 3 Gauntlet transient recovery tests.

Deduplication + Cache Eliminates Redundant Traffic First

Before any token bucket is even consulted, canonical within-batch deduplication and the 7d–30d verified archive cache remove redundant network probes completely.

Traffic Hygiene & Fault-Tolerance Comparison

Competitor pricing figures reflect documented public tiers; Batch-Anything performance metrics reflect real measured Gauntlet telemetry (16/16 checks passing).

Reliability ControlBatch-Anything ExecutorNaive ThreadPool / asyncioCloud Browser Slots
Per-Host Rate LimitingIndependent per_domain_rps token bucketGlobal semaphore only (floods single hosts)Coarse slot scheduling
Dead-Host IsolationAutomatic per-host circuit breakerAll workers stall on failing host timeoutsBrowser slots hang until timeout
Transient 429 / 503 RecoveryBounded row-level exponential backoffOften drops row or retries aggressivelyBurns execution minutes
Cost of Circuit-Broken Rows$0.00 billed + dead_letter_rows logWasted compute / partial outputExecution time still billed
Memory Safety Under BackpressureBounded chunk streaming (8.03 MB at 10k)Unbounded task queues risk OOMHigh container memory

Working REST & Streamable /mcp Code Examples

REST API (POST /v1/batch/run & /v1/batch/submit)

# 1. Submit async batch job (HTTP 202)
curl -fsSL -X POST "https://batch.fastmesh.dev/v1/batch/submit" \
  -H "Content-Type: application/json" \
  -d '{"workflow": "url_health_patrol", "tenant_id": "acme_revops", "rows": [{"url": "https://example.com"}, {"url": "https://httpbin.org/status/404"}, {"url": "https://httpbin.org/html"}], "max_budget_usd": 5.0, "per_domain_rps": 4.0, "max_workers": 16, "output_format": "jsonl"}'

# 2. Poll live progress, cache hit rate & savings
curl -fsSL "https://batch.fastmesh.dev/v1/batch/{job_id}"

# 3. Stream verified output (csv | tsv | json | jsonl | sqlite | columnar)
curl -fsSL "https://batch.fastmesh.dev/v1/batch/{job_id}/export?format=jsonl"

Native AI Agent Call (POST /mcp · JSON-RPC 2.0)

# Streamable HTTP MCP JSON-RPC 2.0 call (https://batch.fastmesh.dev/mcp)
curl -fsSL -X POST "https://batch.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "batch_submit_job", "arguments": {"workflow": "url_health_patrol", "tenant_id": "coding_agent_01", "rows": [{"url": "https://example.com"}, {"url": "https://httpbin.org/status/404"}], "max_budget_usd": 1.0}}}'

Full schema: /openapi.json · Agent onboarding: /skill.md · Machine directory: /llms.txt · Treg Hub: batch-anything-waterfall (0% commission) · Causal Bazaar: batch_anything_waterfall_v1

Zero-Empty Guarantee, Privacy & Never-Expiring Packs

Zero-Empty $0 Billing Guarantee: Every empty cell, invalid key, DNS failure, HTTP 4xx/5xx error, soft-404, login wall, and challenge page is billed strictly $0.00 and isolated in dead_letter_rows with a verifiable receipt_sha256.
Zero Customer Table Resale Pledge: Your uploaded CSVs, SQLite tables, prompts, BYOK keys, and batch traces are NEVER resold, licensed, or used to train external models.
ZERO SUBSCRIPTION

Starter Pack

$19

$19 credit (19M micros · 6,333 B2B domains / 12,666 URL checks) · Never expires · 0 seat fees

Get Starter Pack
MOST POPULAR · +13.9% BONUS

Growth Pack

$79

$90 credit (90M micros · 30,000 B2B domains / 60,000 URL checks) · Never expires · 0 seat fees

Get Growth Pack
BEST VOLUME · +30.5% BONUS

Scale Pack

$249

$325 credit (325M micros · 108,333 B2B domains / 216,666 URL checks) · Never expires · 0 seat fees

Get Scale Pack

Frequently Asked Questions

How does Batch-Anything prevent flooding a single website during a 50,000-row run?

Every job combines canonical deduplication, per-domain token buckets (per_domain_rps), bounded worker concurrency (max_workers), and per-host circuit breakers so no origin is ever flooded.

What happens when an upstream endpoint returns a temporary HTTP 429 or 503?

The waterfall executor automatically applies bounded row-level exponential backoff and recovers cleanly once the transient error clears — without blocking unrelated hosts.

Am I billed if a host's circuit breaker trips mid-batch?

No. Every row skipped by a tripped circuit breaker or unresolved after max retries is logged cleanly in dead_letter_rows and billed strictly $0.00.

Were rate limits, circuit breakers, and 429 backoff recovery verified in testing?

Yes. Loop 3 Gauntlet explicitly runs dedicated torture checks verifying per-domain token-bucket throttling, circuit-breaker tripping, and transient 429/503 exponential backoff recovery.

Related Enrichment Guides