Home > Back-end >  The 2020-12-25: MQ, how to ensure the order of the messages?
The 2020-12-25: MQ, how to ensure the order of the messages?

Time:12-26

The 2020-12-25: MQ, how to ensure the order of the messages? # # f greatly architects a daily topic

CodePudding user response:

I don't know 111111

CodePudding user response:

Each queue a consumer can satisfy the processing speed of don't you? If you can meet this way

CodePudding user response:

The RabbitMQ: create multiple queue, each a message queue consumer fixed consumption, or, a queue but corresponds to a consumer, consumer internal do with in-memory queue queue
Distributed to different worker,
Increase an in-memory queue before Kafka: thread processing, each thread only handles one memory message queue,
Binlog RocketMQ: the same tasks into the same MessageQueue, MessageQueue is ordered,

CodePudding user response:

3/f, bosses, full details

CodePudding user response:

The inside of the same message channel is not the message first in first out, in turn, the execution,
  • Related