You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Terminology

  • Exchange: An exchange is a very simple thing. On one side it receives messages from producers and the other side it pushes them to queues.
  • Queue: They store messages that are consumed by applications.
  • Message: An item that is put on a queue.
  • Producer: Producing means nothing more than sending. A program that sends messages is a producer.
  • Consumer: Consuming has a similar meaning to receiving. A consumer is a program that mostly waits to receive messages.

Checklist

Before installation please check the following checklist provided by RabbitMQ: https://www.rabbitmq.com/production-checklist.html. Even when not installing RabbitMQ for a production environment, the following things need to be taken into account:


  • Memory: Nodes hosting RabbitMQ should have at least 128MB of memory available at all times
  • Memory: RabbitMQ will not accept any new messages when it detects that it's using more than 40% of the available memory
  • Disk free space limit: The default limit for RabbitMQ to block all publishers is 50MB, this is low and should be changed to a more sensible value (follow the link below)
  • File handles limit: Make sure your environment allows for at least 50K open file descriptors for effective RabbitMQ user, including in development environments.
  • Users: Delete the default user (guest). Default user only can connect from localhost by default, because it has well-known credentials


Downloading and installing RabbitMQ

Download and install RabbitMQ using the Installation Guides.

After RabbitMQ is installed we need to activate the management-plugin so we can access RabbitMQ via a web interface. This is described in this article: https://www.rabbitmq.com/management.html, of which the main steps are outlined below:

  1. Go to the /sbin folder of the installation folder of RabbitMQ  and open a command prompt
  2. Open a command prompt and run rabbitmq-plugins enable rabbitmq_management

  3. The RabbitMQ dashboard should now be accessible through http://localhost:15672, default user is 'guest' with password 'guest'
    1. Be aware that by default, the guest user can only login from localhost

    2. add a new user so you can remove the guest user. please see: https://www.rabbitmq.com/access-control.html
  • No labels