Idempotency
[/aɪˌdempəˈtənsi/]
Definitions
The property of an operation where performing it multiple times produces the same result as performing it once. Idempotent API endpoints are critical for safe retries — if a network error occurs, the client can re-send the request without fear of duplicating side effects like charges or database records.
“Pass an idempotency key with payment requests so retries don't charge the customer twice.”
Related Terms
- API-FirstTechnology
A design philosophy where the API contract is defined and agreed upon before any implementation begins. API-first teams treat the API as the product — writing the specification fir...
- WebhookTechnology
A user-defined HTTP callback that fires automatically when a specific event occurs in a source system. Rather than polling an API repeatedly, webhooks push data to a listener URL t...
- CI/CDTechnology
Continuous Integration / Continuous Delivery — a set of software engineering practices and tools that automate the process of testing, building, and deploying code changes. CI auto...
- DevOpsTechnology
A set of practices, tools, and cultural philosophies that unite software development (Dev) and IT operations (Ops) teams. DevOps breaks down silos, automates repetitive tasks, and ...
- Graph APITechnology
An API that exposes data as a graph of interconnected nodes and edges, allowing clients to traverse relationships and fetch exactly the data they need in a single request. GraphQL ...
- Rate LimitingTechnology
A technique for controlling the frequency of requests a client can make to an API or service within a given time window. Rate limiting protects systems from abuse, prevents overloa...