3 ms·
Queueing things can result in better throughput because you don't have to wait for the other side to process your last message before you can begin work on the
by LoganDark 3y ago
Queueing things can result in better throughput because you don't have to wait for the other side to process your last message before you can begin work on the next one.
- jeffbee 3y agoThat's just buffering. A lot of people use Kafka this way, as an impedance adapter for a producer with an internal architecture that can't tolerate blocking on production. Of course this requires you to unrealistically assume that Kafka is a zero-impedance message sink. But what I think the other post is alluding to is the fact that in-order delivery is often not a requirement, and can be an anti-feature. I know that in every use of Kafka I have personally encountered the relative order of messages was quite irrelevant but the in-order implementation of Kafka converts the inability to process a single record into an emergency.
- therealdrag0 3y agoThere’s a lot of brokers without ordering guarantees. ActiveMQ for example.