3 ms·
I wonder what the point is in having "best effort FIFO"? If the application has to be able to deal with unordered messages anyway, you might as well not bother
by caf 12y ago
I wonder what the point is in having "best effort FIFO"? If the application has to be able to deal with unordered messages anyway, you might as well not bother to try to maintain any kind of order.
It's as well to be hung for a sheep as for a lamb.
- latch 12y agoIt lets the consumer use a fixed buffer to re-introduce ordering (possibly dropping any out of order messages that come outside of a window)
- ekimekim 12y agoIn general, you want to consume messages "fairly" ie. in a way that minimizes latency introduced by the queuing. Best-effort ordering gives you this most of the time, which is better than none of the time.
- antirez 12y agoExactly, imagine you use your message broker in order to coordinate a web app that needs to apply effects to photos in a web interface. It is definitely a good idea that users arriving before are served before, but violating this by a couple of milliseconds is not going to change the experience.