3 ms·
I see what you mean. I would never use a pattern where you don't broadcast to all consumers myself. And while you can fail to produce when a consumer is too sl
by mgaunard 3y ago
I see what you mean. I would never use a pattern where you don't broadcast to all consumers myself.
And while you can fail to produce when a consumer is too slow, I'd argue that sort of pattern only makes sense for a single consumer as well (the network equivalent would be TCP, which by definition can only be unicast).
- gpderetta 3y agoWell, TCP is stream oriented and unicast, but doesn't take much to conceive a message oriented protocol that does anycasting. As a real world example of anycasting queue that I'm sure you have used, consider the queue behind accept(2) or pthread_condition_wait.