From 19548ac9d3d76cd676e3caf33b7bb981d0ad1a6b Mon Sep 17 00:00:00 2001 From: Artur Stawiarski Date: Mon, 1 Feb 2016 15:16:12 +0000 Subject: [PATCH] Added support for HiPE in RabbitMQ docker --- rabbitmq/content.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rabbitmq/content.md b/rabbitmq/content.md index beaf4fffc..ec8d8ee34 100644 --- a/rabbitmq/content.md +++ b/rabbitmq/content.md @@ -91,6 +91,16 @@ If you wish to change the default vhost, you can do so wiht 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