Skip to content

Commit

Permalink
Merge pull request docker-library#476 from astawiarski/master
Browse files Browse the repository at this point in the history
Added support for HiPE in RabbitMQ docker
  • Loading branch information
yosifkit authored Jul 7, 2016
2 parents 5750458 + 19548ac commit ad4200d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rabbitmq/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ If you wish to change the default vhost, you can do so with the `RABBITMQ_DEFAUL
$ docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_DEFAULT_VHOST=my_vhost rabbitmq:3-management
```

## Enabling HiPE

See the [RabbitMQ "Configuration"](http://www.rabbitmq.com/configure.html#config-items) for more information about various configuration options.

For enabling the HiPE compiler on startup use `RABBITMQ_HIPE_COMPILE` set to `1`. Accroding to the official documentation:

> Set to true to precompile parts of RabbitMQ with HiPE, a just-in-time compiler for Erlang. This will increase server throughput at the cost of increased startup time. You might see 20-50% better performance at the cost of a few minutes delay at startup.
It is therefore important to take that startup delay into consideration when configuring health checks, automated clustering etc.

## Connecting to the daemon

```console
Expand Down

0 comments on commit ad4200d

Please sign in to comment.