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.
|
|
|
# 项目介绍
|
|
|
|
- demo
|
|
|
|
- demo1 Disruptor 与 Netty 的整合
|
|
|
|
- demo2 Disruptor
|
|
|
|
- demo3 Netty与 SpringBoot 整合
|
|
|
|
- netty
|
|
|
|
- better-netty Netty 的深入研究和学习
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 参考文章
|
|
|
|
- 阿里云开发者社区
|
|
|
|
- 现代IM系统中的消息系统架构 - 实现篇 https://my.oschina.net/yunqi/blog/3078531
|
|
|
|
- 现代IM系统中的消息系统架构 - 模型篇 https://developer.aliyun.com/article/701593
|
|
|
|
- 现代IM系统中的消息系统架构 - 架构篇 https://developer.aliyun.com/article/698301
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disruptor
|
|
|
|
|
|
|
|
|
|
|
|
## 1. 介绍
|
|
|
|
|
|
|
|
- 起源: LMAX 2010
|
|
|
|
- 成就: 无锁高并发(6,000,000 Order/s)
|
|
|
|
|
|
|
|
## 2. 高性能
|
|
|
|
- 定长数组/预加载
|
|
|
|
- CAS代替锁(1-20-700), 单线程的CAS避免锁的使用
|
|
|
|
- Cache Padding
|
|
|
|
- Memory Barrier
|
|
|
|
|
|
|
|
|
|
|
|
## 3.
|
|
|
|
坐席传来的新消息都存入 localstorage 中,其他页签监听 localstorage 的变化取出数据进行渲染
|
|
|
|
|
|
|
|
Java 实现 UDP 传输方式同步发送并接收消息
|
|
|
|
- https://my.oschina.net/u/3986411/blog/5482852
|
|
|
|
JackJiang2020
|
|
|
|
- https://my.oschina.net/u/4231722
|
|
|
|
JackJiang-
|
|
|
|
- https://my.oschina.net/jb2011
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|