标签: netty
I want to log connection records to files in Netty application. But log.info("XXXX") can issue an I/O request which will block current NIO thread causing a performance problem.
log.info("XXXX")
So what is the best way to log message in Netty?
答案 0 :(得分:0)
如果这对您来说是个问题,我会看一下Java的异步日志框架之一。这是一对以极快和低延迟而享有良好声誉的人: