Performance Comparison for MSMQ Login / Text File / Database

We have several login options for our .NET server application (C #). We are going to use the Enterprise Library. So here are the ways:

1) Synchronize the record in MSMQ, and then read the MSMQ using Win Service. The queue is located on the local machine for the server application.
2) Writing a log to disk (i.e. dragging and dropping text files) synchronously.
3) Synchronize the record in the database (Oracle, in our application).

The amount of the magazine can be quite high. So which one is the most effective? I assume the order is 1, 2, 3. Am I right? Is there any other performance factor than recording speed in this particular scenario? Are there other options that I have not indicated here that could be a more efficient way?

+5
source share
3 answers

Without listening to applications in terms of registration:

I have the feeling that the MSMQ registration script is a bit of a big question.

MSMQ , , . , MSMQ , , , . , / MSMQ .

, (/ ). , SUPER - , RAM-. , .

. . , , , . , , , 10 000 /, , , . YAGNI , - "" , MSMQ . .

+4

, , "Write log to database ". , , . , , , .

, log4net? , , UDP,....

Splunk .

+1

MSMQ, .

, , -, . , -, , , .

, , , Enterprise Library. log4net .

. ? ( )? , , , MSMQ, .

Other considerations may include existing implementations or standards, the overall complexity of the solution (MSMQ> file), support for various parameters (for example, you cannot use MSMQ if there is no operational expertise).

+1
source

All Articles