Set LWM to half of HWL.
This reduces chances of race between writer deactivation and activation. Reader sends activation command to writer when number or messages is multiple of LWM. In situation with high throughput (millions of messages per second) and correspondingly large HWM (e.g. 10M) the difference between HWM needs to be large enough - so that activation command is received before pipe becomes full.
Showing
Please
register
or
sign in
to comment