Skip To Content
sounding.Conversations. Context.
Follow-Through.
Connection Evaluation

Evaluate Connector Rate-Limit Recovery

A connection can stay authenticated while new records stop arriving. Rate-limit recovery needs its own acceptance test: does the worker wait, keep pending work visible, and resume without losing or duplicating records? Use a controlled simulation with synthetic data. This is a proposed evaluation method, not confirmation that a Sounding connection implements these controls.

Scope Your Recovery Evaluation

Define The Limit And Test Boundary

Record the provider, endpoint, account, credential scope, documented limits, and other workers sharing that quota. Distinguish a per-account limit from an endpoint or application limit. Specify a small input set, expected destination records, maximum test duration, and a stop owner.

Inject responses through an isolated test server or approved sandbox. Do not deliberately overload a production API to trigger throttling. Retain response timing and synthetic record identifiers; exclude credentials and customer content from diagnostic evidence.

Use A Recovery Acceptance Table

Record observed timestamps and results beside each row. These are proposed acceptance criteria, not universal provider requirements.

Rate-Limit Simulation And Recovery Acceptance
SimulationAcceptance Evidence
429 With A WaitNo affected request starts before the valid Retry-After time. Pending records and the next eligible attempt remain visible.
Missing Or Invalid WaitThe documented fallback increases delays within a ceiling, adds bounded random variation, and stops at the agreed attempt or elapsed-time budget.
Two Workers, One QuotaBoth workers respect the shared pause. Their combined request rate stays within the configured limit when work resumes.
Worker RestartSaved progress and the next eligible time survive restart. Restarting does not reset the retry budget or skip uncommitted records.
Recovery Or ExhaustionRecovered records reconcile by source identifier. Exhausted work remains visible with an owner and no automatic retry loop.

Check The Waiting Rules

HTTP 429 indicates excessive requests and may include Retry-After. HTTP defines that header as either a delay in seconds or an HTTP date. Test both forms, including clock skew, plus absent and malformed values. A local backoff ceiling must not shorten a longer valid provider wait; defer the work if that wait exceeds the test window.

Follow the actual provider’s instructions. For example, GitHub documents Retry-After, a separate rate-limit reset time when remaining quota is zero, and bounded exponential waiting for repeated secondary-limit failures. Do not copy its timings into another provider’s contract.

For the proposed simulation, coordinate all workers using the same quota and record attempt count, last error, next eligible time, queue age, and current owner. Keep authentication failures separate from throttling; repeatedly retrying invalid credentials cannot repair access.

Prove Recovery At The Destination

Resume at a controlled pace and reconcile each synthetic source identifier with a saved destination record. Count completed, pending, and explicitly excluded items separately. Advance progress only after the required destination work is confirmed. A falling queue count alone cannot prove delivery.

If a write times out with an unknown result, inspect the destination or use the provider’s documented idempotency mechanism before repeating it. Do not assume a generic retry makes a write safe. Stop and assign an exception when the outcome cannot be established.

Hypothetical Example

Twenty Records Behind A Shared Pause

Hypothetically, two workers share one quota and 20 synthetic records await import. A simulated 429 arrives at 10:00:00 with Retry-After: 60. Neither worker sends an affected request before 10:01:00. At the test cutoff, 18 distinct records are saved and two remain assigned exceptions: 20 = 18 + 2. A repeated delivery of one saved source identifier creates no extra record. The evaluator records partial recovery, not a complete pass.

Your Action Checklist

  • Simulate throttling without loading the live provider.
  • Verify shared waiting and persistent retry budgets.
  • Inspect destination records and unresolved exceptions.
  • Keep recovery limits specific to the provider.

Questions Teams Ask

Does An Empty Queue Prove Recovery?

No. Reconcile the original input set with saved destination records and documented exceptions. Dropped work can make a queue empty without completing anything.

Sources And Further Reading

Put The Guide To Work.

Bring a fictional acceptance table to a Sounding audit discussion to scope provider limits, recovery evidence, and ownership of failed imports.

Scope Your Recovery Evaluation
Useful Guidance, With Clear Boundaries

Sounding guides are operational frameworks, not legal advice or a promise of results. Examples are hypothetical. Product fit, source access, and available connections are confirmed for each deployment. Read Our Editorial Approach.