Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Idempotency Barrier for messaging

A recent presentation I saw regarding RabbitMQ mentioned the use of something called an "idempotency barrier" for message de-duplication. Is this just a fancy name for a message conflator or is it something more specific. If so, what exactly is it? A google search yielded results which are mostly related to RabbitMQ, with little explanation of what it was.

like image 799
omerkudat Avatar asked Dec 29 '22 18:12

omerkudat


1 Answers

Idempotency is the behavior of a function where performing the function on the function's output n times results in the same state as the function being performed once. This is useful in a messaging environment because delayed messages do not cause unexpected behavior. While conflation implies that messages would be concentrated to prevent duplication, idempotency implies that the messaging framework would permit multiple transmissions and executions of duplicate messages, while maintaining that the execution of multiple copies of a message has the same result as execution of one message.

like image 90
codethulhu Avatar answered Jan 11 '23 18:01

codethulhu