Today I Read
Link
https://blog.devgenius.io/redis-vs-kafka-vs-rabbitmq-e935ebbc7ec
What I Learned
- Means of communictaion between microservices: sync. and async.
- REST for sync.
- MQ for async.
- Considerations for choosing the right MQ:
- Broker scale: # messages / sec.
- Data persistency: the ability to recover messages
- Consumer capability: Capability for 1:1 or 1:N
- Different message brokers and their purposes
- RabbitMQ (AMQP) for complex routing
- Kafka for large amounts of data
- Redis for short-lived messages