WordGarden.io
Back to search

idempotent

C2
adjective

Pronunciation

UK

  • /ˈaɪdmpəʊtənt/

US

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

Description

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.

Forms and spellings

1 form open this card.

Main spelling

  • idempotentadjective