Skip to content

Origin

Idempotent comes from Latin idem (same) + potens (power); it appeared in algebra in the 1870s and passed into computer science through category theory in the 1940s.

The mathematical sense of idempotent appeared in 19th-century algebra: an element a of an algebraic structure is idempotent if a·a = a. Benjamin Peirce (1870) introduced the term for idempotent elements in linear algebras. It passed into category theory in the 1940s (Eilenberg and Mac Lane) for morphisms whose composition with themselves yields themselves. From there it entered computer science as a property of operations and functions. HTTP formalized it in RFC 2616 (1999) for methods whose repeated application has the same effect as a single application; the rule survives in RFC 9110 (2022).

Methods can also have the property of "idempotence" in that (aside from error or expiration issues) the side-effects of N > 0 identical requests is the same as for a single request.

— RFC 7231, Section 4.2.2, 2014
1870 · Benjamin Peirce introduce el término algebraico
1940s · Eilenberg y Mac Lane en teoría de categorías
1999 · RFC 2616 formaliza idempotencia HTTP
2014 · RFC 7231 refina la definición
2022 · RFC 9110 unifica HTTP semantics
5 · métodos HTTP idempotentes según RFC 9110