Index Ai Academy
Glossary · Phase 1 · Building with LLMs

Jitter

A small random extra wait added before a retry, so many programs don't all retry at the same moment.

The standard response is to wait and retry, waiting longer each time: 1 second, then 2, then 4. That's called exponential backoff, because the wait doubles each time. Real code also adds a little random extra wait, called jitter, so a thousand scripts don't all retry at the same instant. And if the API sends a retry-after header, wait that long.

Try it now

Retrying a permanent error only wastes time and money.

Learn it properly

LLMs in automations · Put models inside scripts and workflow tools that run on their own. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write