Idempotent Messaging Barrier

A recent presentation I saw regarding RabbitMQ mentioned the use of something called the “idempotency barrier” to eliminate message duplication. Is this just a fancy name for message conferencing or is it something more specific. If so, what exactly? A Google search yielded results that are mostly related to RabbitMQ, with a little explanation of what it was.

+3
source share
1 answer

Idempotency is the behavior of a function when executing a function at the output of a function n times leads to the same state as a function executing once. This is useful in a messaging environment, because delayed messages do not cause unexpected behavior. Although merging implies that messages will be concentrated to prevent duplication, the idempotent implies that the messaging system allows multiple transfers and duplicate messages, while maintaining that executing multiple copies of the message has the same result as executing a single message.

+9
source

Source: https://habr.com/ru/post/1713759/


All Articles