System tuning
In this recipe, we will appreciate some steps useful to obtain the maximum performance from RabbitMQ. We will cover the following topics:
- The
vm_memory_high_watermark
configuration (http://www.rabbitmq.com/memory.html) - Erlang High Performance Erlang (HiPE) (http://erlang.org/doc/apps/hipe/)
The vm_memory_high_watermark
configuration is the maximum percentage of the system memory used to cache messages before they are consumed or cached to the disk.
Before the limit is reached, by default, at fifty percent of vm_memory_high_watermark
, (or properly setting the vm_memory_high_watermark_paging_ratio
parameter, set to 0.5
by default), RabbitMQ will start to move messages from memory to on-disk paging space.
If neither this paging mechanism, ...
Get RabbitMQ Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.