Currently I'm facing the problem to aggregate several log files from a distributed system.
But since most of the applications are Java applications which use both log4j and all of them use JMS I thought about logging directly into a message queue instead of copying the individual log files.
Is this a good idea or can this backfire somehow?
Disadvantages of message queues They are both one-to-one in nature: they transmit information from one sender to one recipient. Like a caller of an RPC, the message sender has some idea about the system for which the message is intended. A queue is not a broadcast mechanism.
Message queues provide communication and coordination for these distributed applications. Message queues can significantly simplify coding of decoupled applications, while improving performance, reliability and scalability.
Advantages of Queue: A large amount of data can be managed efficiently with ease. Operations such as insertion and deletion can be performed with ease as it follows the first in first out rule. Queues are useful when a particular service is used by multiple consumers.
Message queues will add complexity even if incrementally.
A couple of loose ideas:
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