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
1 changed files with
3 additions and
3 deletions
-
README.md
|
|
|
@ -34,9 +34,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 利用了redis的list类型数据实现生产/消息模型,其中key为im:unread:${serverid},每个im-server只会消费属于自己serverid的数据 |
|
|
|
- redis还会记录每个用户的websocket连接的是哪个im-server,发送消息时,im-platform将根据所连接的im-server的id,决定将消息推向哪个"队列 |
|
|
|
" |
|
|
|
- 利用了redis的list类型数据实现生产/消息模型,其中key为im:unread:${serverid},每个key的数据可以看做一个queue(或topic),每个im-server根据自己的serverid只属于自己的queue |
|
|
|
- redis还会记录每个用户的websocket连接的是哪个im-server,发送消息时,im-platform将根据所连接的im-server的id,决定将消息推向哪个queue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|