Welcome to MSDN Blogs Sign in | Join | Help

Use Windows security sparingly for MSMQ messages

Looking for help on an (unrelated) MSMQ issue, I found this footnote to one of the posts on Peter Bromberg's blog which I thought was worth sharing: 

And here is a performance issue I didn't know before:

Use Windows Security Sparingly

MSMQ uses the standard Windows security model. You can configure queues to permit only senders and receivers with appropriate security privileges. The tradeoff for including Windows security in messaging is that it takes about 2.5 times as long to send the same messages. By configuring MSMQ not to send the security descriptors associated with the sending application, you can obtain significant performance gains. To configure MSMQ not to send a security descriptor with the message, set the message property
AttachSenderID to False (the default is True).

 

Published Friday, October 02, 2009 12:11 PM by JohnBrea
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker