1001Ferramentas
⏱️ Calculators

Exponential Backoff Planner

Build the retry schedule: base delay, multiplier, cap and jitter strategy. Shows each wait, the best and worst case total, and when the cap kicks in.

The retry schedule, with the waits counted right

Exponential backoff is the policy of waiting longer between each attempt: 100 ms, then 200, then 400. The idea is giving the failing service room instead of hammering it. Fill in the base delay, the multiplier, the cap and the number of attempts, and the page builds the full schedule — each individual wait plus the total in the best, expected and worst case.

The sum almost everyone gets wrong is the number of waits. Six attempts means five waits, not six: the first attempt happens immediately, and only after it fails does anything wait. Counting one wait too many overstates the total by the largest one — with a multiplier of 2, the final wait is worth nearly as much as all the previous ones combined.

The choice of jitter strategy matters more than it looks. Without jitter, a thousand clients that failed at the same instant come back at the same instant, and the surge knocks over the service that was getting back up. Full jitter draws between zero and the nominal delay: it spreads the load best and halves the expected time without raising the worst case. Equal jitter keeps half fixed, guaranteeing a minimum wait. And decorrelated grows from the previous drawn wait rather than the nominal one, spreading further at the cost of predictability.

Frequently asked questions

Which jitter strategy should I use?
For most cases, full: it spreads best and is the simplest to implement. Equal makes sense when you want a guaranteed minimum gap between attempts, for instance to stay under a requests-per-second limit. Decorrelated performs well under heavy concurrency, at the cost of being harder to reason about.
What is the cap for?
To stop the wait growing without bound. With a multiplier of 2 and a one-second base, the tenth wait exceeds 8 minutes, which is almost never what you want. The cap freezes growth at a sensible value — 30 seconds is a common choice — and from there the waits stay constant.
Does the total include the requests themselves?
No: the figure covers only time spent waiting. Real wall-clock time also includes each attempt's duration, including the timeouts of those that failed by not answering. When sizing an overall deadline, add both parts — it is common for timeouts to dominate over the waits.

Related Tools

🧠

CD-RISC-10 Resilience Score

Computes the Connor-Davidson Resilience Scale 10-item score from items 0-4.

🦠

Bacterial Growth Calculator

Compute bacteria count after N divisions (N = N₀ × 2^t/td) — where td is doubling time. For microbiology and exponential growth.

🛡️

Radiation Shielding Attenuation

Compute the radiation intensity after passing through shielding, I = I₀·e^(−μ·x), by the exponential attenuation law, from the initial intensity (I₀), the material's linear attenuation coefficient (μ) and the thickness (x). Unlike alpha and beta particles (which have a finite range), gamma rays and X-rays are only exponentially attenuated — never fully blocked. It is the basis of shielding calculation. Enter the initial intensity, the attenuation coefficient and the thickness.

📉

Exponential Decay Calculator

Applies N = N0 * e^(-k*t) to compute remaining value in exponential decay.

🔩

Modulus of Resilience

Calculate the modulus of resilience, U_r = σ_y² ÷ (2·E), from the yield strength σ_y (MPa) and the elastic modulus E (MPa). The result, in MJ/m³ (equivalent to MPa), is the strain energy the material absorbs per unit volume up to the elastic limit — the area under the linear part of the stress-strain curve. Materials with high yield strength and low modulus (like spring steels) have high resilience: they store much elastic energy and return it on unloading, with no permanent deformation. Enter the yield strength and the elastic modulus.

⚙️

Gear Ratio Calculator

Compute gear ratio Z_out/Z_in for a gear pair, output RPM and resulting torque.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.