Why do we need routing key in RabbitMQ?

There are several types of exchanges. The fanout exchange ignores the routing key and sends messages to all queues. But pretty much all other exchange types use the routing key to determine which queue, if any, will receive a message. The tutorials on the RabbitMQ website describes several usecases where different exchange types are useful … Read more

Topic Exchange vs Direct Exchange in RabbitMQ

Assuming both models are being considered to be implemented using one broker running, there’s little difference that I can see. Option 2 seems more common in the real world for solving this kind of routing problem (at least in my anecdotal experience) and it’s exactly the challenge that Topic Exchanges exist to solve. The only … Read more

What are the limits of messages, queues and exchanges?

Theoretically anything can be stored/sent as a message. You actually don’t want to store anything on the queues. The system works most efficiently if the queues are empty most of the time. You can send anything you want to the queue with two preconditions: The thing you are sending can be converted to and from … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)