1.MQ selection analysis
RabbitMQ | Kafka | RocketMQ | |
language | Erlang | scala | java |
Data permission security | topic supports multi-tenancy | topic | topic supports multi-tenancy |
Architecture | |||
Scenes | For push scenarios, complex protocols, IM fields, and urgent priority messages, RabbitMQ is also very mature. | Log collection, large data volume | Good mass base, wide application range, rich functions, and the ability to realize distributed transactions |
2. Why should you introduce message middleware into your system architecture?
1. Decoupling of complex systems
2. Asynchronous calls of complex links
3. Peak clipping processing of instantaneous peaks
3. What are the disadvantages of introducing message middleware into the system architecture?
1. Reduced system availability
2. System stability is reduced
3. Distributed consistency problem