large_message_threshold
Name
large_message_threshold — Consider a message large when its size exceeds this amount
Synopsis
large_message_threshold = 131072
Description
For performance reasons, Momentum prefers to keep message contents in memory. From time to time, messages that are much larger than average enter the system. Such messages may either be transiently rejected (because they cannot fit in memory) or increase demands on memory and have an adverse affect on overall system performance.
In order to avoid this, Momentum can use alternative techniques for working with messages that are larger than the large_message_threshold
. Large messages pass through the system a little more slowly (wallclock time) than their regular counterparts, mitigating their impact on the rest of the system.
The default is 131072 bytes. If the majority of your messages are larger than the default, then you should adjust the threshold upwards so that the system will run more efficiently.
Scope
large_message_threshold is valid in the global scope.