基于Netty4.1.x+Disruptor3.x实现的高性能通信服务器架构
其主要的核心**就是将Logback的AsyncAppenderBase中的java.util.concurrent.ArrayBlockingQueue替换为了Disruptor线程间通信库
ArrayBlockingQueue与Disruptor的性能比较请点击如下链接查看:
https://github.com/LMAX-Exchange/disruptor/wiki/Performance-Results
良好的解决了由于业务处理线程池线程间切换造成的性能损耗问题,从而提高了并发能力,欢迎拍砖+吐槽+帮助改善该架构的性能以及可扩展性
PS:由于Netty官方废弃5.0,现在一律使用4.1.X
我的:
QQ号:405653510
QQ邮箱:[email protected]
Gmail邮箱:[email protected]