Rex Java學習筆記

2022年4月1日 星期五

Kotlin的Channel和Java的BlockingQueue比較

Channel:send和receive
BlockingQueue:put和take

BlockingQueue是Blocking;Channel可以使用suspend

Rex 於 晚上11:00 沒有留言:
分享

2022年3月29日 星期二

LMAX Disruptor

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

Rex 於 晚上10:34 沒有留言:
分享
‹
›
首頁
查看網路版
技術提供:Blogger.