3 ms·
> When people say “exactly once” is impossible they really mean in the face of failure at the queue level. And what exactly is impossible with that? Just wait
by tyu2 6y ago
> When people say “exactly once” is impossible they really mean in the face of failure at the queue level.
And what exactly is impossible with that? Just wait it out, i.e. like all the CP systems do (as per CAP).
- kasey_junk 6y agoThe premise is that unavailability is the same as zero delivered messages, not one. Note none of this is rigorously defined either in the article or with most message queues and the configuration of queues/brokers/clients means that there are all manner of edge cases around delivery guarantees in practice.
- WJW 6y ago"Wait it out" is only a valid strategy when message rates are low enough that you can buffer them all until the network partition goes away again. As an example, imagine a system sending a million 1 KB messages per second. To survive a 1 minute network outage it would need 60 GB extra storage to park the messages. If the outage lasts longer than it has space available, dropping messages becomes inevitable.