6.3.4. Determining Journal Size
6.3.4.1. Preventative design
Applications that use persistent queues must either prevent enqueue threshold exceptions, or respond appropriately when the exception occurs. Prevention can result in better system performance and reliability than exception handling, although both should be implemented.
Matching the rate of publishing with the rate of consuming through distribution is often the best solution. Configuring producer flow control on a persistent queue allows the queue to block producers when the queue is in danger of overflowing.
See Also: