MSMQ really slow performance with Recoverable=true

The performance of my Microsoft message queue (MSMQ) is at least a factor ten slower, if I enable persistent messages, by setting the Recoverable attribute to true. I did expect a drop in performance, since the messages are written to disk instead of being stored in memory, but nowhere nearly by that much.

Can I make some performance tuning of my message queue?

Edit: My messages are about 2 kilobytes each. With an in-memory version I can create about 10 messages per second. With message stored on disk, the speed is about 1 per second.

I completede agree, that performance penalty is expected, but I think that 10 messages per second is already so slow, that I thought that it was the sevice writing the messages, that was the bottleneck.

Answers


Non-recoverable messages still get written to disk but MSMQ doesn't wait for confirmation of success."Why are my Express MSMQ messages being written to disk?"

10 Express messages per second is incredibly slow, as is one Recoverable message per second. There is something seriously wrong with the machine you are using, or the service. On my desktop machine, I can send 1,000 Recoverable 2kb messages in 6-7 seconds.

Cheers John Breakwell


Need Your Help

Same code in every viewdidload

objective-c ios uiviewcontroller

I have the same code in every ViewController, it sets the backgroundcolor of the ViewControllers' view and it changes the backbutton and the titleview of the navbaritem.

Backbone: Collection nested in a model

javascript backbone.js

I will list some code and explain the situation.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.