Message Brokers

MD
R
Markdown

Premise: asynchronous comms are non blocking; are scalable by nature

Consider:

  • Detecting poison messages
  • Ensuring reliability of the messaging system
  • Scaling the messaging system

Complex routing RabbitMQ (AMQP) - 50K/s (persistence is optional) 1:1 / 1:n

Large amount of data w/ high retention period Kafka - 1M/s (persistence by default) 1:n

Short Lived Messages (short retention period) Redis - 1M/s (KV Store | Message broker) 1:1 / 1:n *Redis 5 has pub-sub

Created on 1/2/2022