I know about the size limit for the message (4MB), but is there a limit to the queue size? Best practice limit maybe?
The message queue can list from 0 to 255 messages. The default setting is set to a maximum of 50 messages queued. However if a message queue size of 0 is specified, then fixed format job event and output generation messages are lost.
As a Windows component, MSMQ is technically “supported” as long as it's carried by a supported version of Windows. Since it exists in Windows 10 and Windows Server 2019, MSMQ will continue to live on until at least 2029—and much longer assuming it isn't removed from future versions of Windows.
Message queues can significantly simplify coding of decoupled applications, while improving performance, reliability and scalability.
"Best practice limit maybe?"
One good test is to see how long it takes for a system to restart and become operational again. So you may want to have {{picks number out of air}} 100Gbytes of messages, for example, as a maximum limit but 100Gbytes could take {{picks another number out of air}} 30 minutes to reload. That may be way outside your SLA.
So:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With