惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
V
V2EX - 技术
S
Secure Thoughts
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
S
Securelist
S
Security Archives - TechRepublic
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Recent Commits to openclaw:main
Recent Commits to openclaw:main
G
GRAHAM CLULEY
H
Hacker News: Front Page
Microsoft Azure Blog
Microsoft Azure Blog
I
Intezer
Google Online Security Blog
Google Online Security Blog
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
T
The Exploit Database - CXSecurity.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Webroot Blog
Webroot Blog
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
P
Proofpoint News Feed
The Cloudflare Blog
I
InfoQ
L
LangChain Blog
U
Unit 42
P
Proofpoint News Feed
S
Schneier on Security
S
Security Affairs
Y
Y Combinator Blog
T
Tenable Blog
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog
量子位
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
D
Darknet – Hacking Tools, Hacker News & Cyber Security
GbyAI
GbyAI
AWS News Blog
AWS News Blog

博客园 - 星朝

博客园搬家 窗口函数详细用法 JVM启动参数大全 BigDecimal.setScale用法总结 - 星朝 - 博客园 springboot项目上传文件出现临时文件目录为空 springboot中多线程中使用MultipartFile进行异步操作报错,系统找不到指定的文件 java获取本机IP Java获取本机ip和服务器ip Spring中的@Transactional(rollbackFor = Exception.class)属性详解 注解@CrossOrigin解决跨域问题 unique key index区别 mysql 创建唯一约束表 MySQL中添加唯一约束和联合唯一约束 Tigase 8.0开发环境搭建 Tigase手动安装过程 几个时序数据库 时序数据库入门 MySQL执行计划extra中的using index 和 using where using index 的区别 ETL的详细解释定义
移动IM开源框架Tigase > Openfire > Ejabberd对比分析
星朝 · 2020-01-13 · via 博客园 - 星朝

一、IM协议选择
这里写图片描述
二、IM 服务器的选择
这里写图片描述
三、XMPP协议的问题及改进

登录握手部分的改进 XMPPQuickStart (XEP 0305)

心跳改进 Xmpp Ping/Pong (XEP 0199) 40+ 字节 -> 单向 white space ping, 4字节

文件传输 Xmpp 协议的文件传输是点对点的,需要改成用http 上传到server 语音,视频压缩后上传 下载图片,缺省下载缩略图

Presence 对移动互联网场景,不转发是否在线 – 永远在线

Muc 聊天室 Muc 是聊天室协议,要改进成移动社交app 中的群组。发送消息时发给群里的所有用户,而不是只发 “在线”用户;
disable presence

原文地址:https://blog.csdn.net/u013100574/article/details/53196531

posted @ 2020-01-13 13:35  星朝  阅读(1625)  评论(0)    收藏  举报