Browse Source
update README.md.
Signed-off-by: blue <825657193@qq.com>
master
blue
3 years ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with
10 additions and
0 deletions
-
README.md
-
BIN
截图/消息推送集群化.jpg
|
|
@ -29,6 +29,16 @@ |
|
|
| im-common | 公共包 | |
|
|
| im-common | 公共包 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 集群化方案 |
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 利用了redis的list类型数据实现生产/消息模型,其中key为im:unread:${serverid},每个im-server只会消费属于自己serverid的数据 |
|
|
|
|
|
- redis还会记录每个用户的websocket连接的是哪个im-server,发送消息时,im-platform将根据所连接的im-server的id,决定将消息推向哪个"队列 |
|
|
|
|
|
" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### 本地快速部署 |
|
|
#### 本地快速部署 |
|
|
1.安装运行环境 |
|
|
1.安装运行环境 |
|
|
|
Width:
|
Height:
|
Size: 133 KiB
|