You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

项目介绍

  • demo
    • demo1 Disruptor 与 Netty 的整合
    • demo2 Disruptor
    • demo3 Netty与 SpringBoot 整合
  • netty
    • better-netty Netty 的深入研究和学习

参考文章

Disruptor

1. 介绍

  • 起源: LMAX 2010
  • 成就: 无锁高并发(6,000,000 Order/s)

2. 高性能

  • 定长数组/预加载
  • CAS代替锁(1-20-700), 单线程的CAS避免锁的使用
  • Cache Padding
  • Memory Barrier

3.

坐席传来的新消息都存入 localstorage 中,其他页签监听 localstorage 的变化取出数据进行渲染

Java 实现 UDP 传输方式同步发送并接收消息