不錯的書,可以學Java 8到Java 12的語法,範例程式碼也不錯
也有第二版是Java 12到Java 21的語法,還在努力看第一版,尚未入手第二版xd
Channel:send和receive
BlockingQueue:put和take
BlockingQueue是Blocking;Channel可以使用suspend
https://github.com/LMAX-Exchange/disruptor
官網
https://lmax-exchange.github.io/disruptor/
跟ArrayBlockingQueue的效能比較
https://lmax-exchange.github.io/disruptor/#_whats_the_big_deal
Maven
https://mvnrepository.com/artifact/com.lmax/disruptor
C#版
https://github.com/disruptor-net/Disruptor-net
REF:
springboot專案使用Disruptor做內部訊息佇列
https://blog.csdn.net/buertianci/article/details/105327031
LMAX平臺使用該框架對訂單處理速度能達到600萬TPS
Disruptor與BlockingQueue壓力測試性能對比
https://blog.csdn.net/danielzhou888/article/details/86683771