3 ms·
If by at most once, you mean all the subscribers get the message once and once only, yes, that's what they wanted. I tried this in java anyway and didn't get v
by sage76 11y ago
If by at most once, you mean all the subscribers get the message once and once only, yes, that's what they wanted.
I tried this in java anyway and didn't get very far. Defined the classes for publisher, consumer and queue. Then was grilled about the reliability and all the other requirements.
- lastofus 11y agoIf they required of you to implement once-and-only-once reliable delivery of messages over a network, then I would argue they don't really understand the problem themselves. This blog post does a pretty good job of describing the problem: http://bravenewgeek.com/you-cannot-have-exactly-once-delivery/ http://bravenewgeek.com/you-cannot-have-exactly-once-deliver... I would not feel bad about missing this question. Distributed systems are hard!