Message Queues
6 points by rcalixte
6 points by rcalixte
This article doesn’t cover what happens when two consumers try to take a message at the same moment and simply seems to presume that making a message invisible / removing is atomic. I’m not a distributed systems person, but surely this is a concern?
This article doesn’t cover what happens when two consumers try to take a message at the same moment and simply seems to presume that making a message invisible / removing is atomic.
The broker typically handles ensuring that operations are atomic rather than the clients being expected to. The article touches on different approaches to delivery guarantees and possible strategies for each.