I've been looking at optimizing my Log4J configuration to improve the throughput and reduce latency, and I'm trying to determine the best settings. I'm dealing with a system where the code must be bug-free, reliable, and system performance are the top priority in order from most important to least important.
It seems pretty clear to me that Asynchronous loggers is the clear winner in terms of best performance, and that makes complete sense. I don't understand the tradeoffs of Random Access File Appenders vs. Buffered File Appenders. I looked at the log4j website here but I didn't see any real downside to using Random Access File Appenders.
Could somebody please explain the differences, and explain when each should be used?