WordGarden.io

idempotent

C2
Rare

Pronunciation

UK

    US

    • /aɪˈdɛm.pə.tənt/not-comparableadjective

    Meanings

    Adjective

    1. describing a software or web operation that can be repeated without changing the result beyond the first successful run

    2. describing an operation, function, or element whose repeated application gives the same result as one application

    Noun

    1. an operation, function, or element that has the idempotent property

    Beyond the definition

    Imagine a button labeled "Power On." Pressing it once turns the device on. Pressing it again does not make the device any more on. It just stays on. That is the essence of being idempotent: doing the same action many times gives the same result as doing it once.

    This idea is important in math and computer science. An "idempotent operation" is one where repeating it does not change the result after the first time. Think of setting a digital volume slider to 50%. Doing it once sets the level; doing it ten more times leaves it exactly at 50%. It is all about consistency: the result stays the same no matter how many times you apply the action.

    Examples

    1. 1

      API safety

      This API call is idempotent, so sending it twice will not create two accounts.

    2. 2

      Payment requests

      We made the payment request idempotent to protect users from double charges during network failures.

    3. 3

      Distributed systems

      In distributed systems, engineers prefer idempotent operations because retries are much safer.

    See also

    Similar

    • repeat-safe
    • safe to repeat

    Shades of meaning

    • retry-safe

    Contrast

    • non-idempotent

    Do not confuse

    Used with (collocations)

    • idempotent operation
    • idempotent request
    • idempotent method
    • idempotent function

    Word family

    • idempotence
    • idempotency

    Explore

    • safe methods
    • side-effect-free

    Forms and spellings

    1 form open this card.

    Main spelling

    • idempotentadjective