当前位置:网站首页>prosody相关概念了解。xmpp,jabber,bosh等
prosody相关概念了解。xmpp,jabber,bosh等
2022-07-22 08:10:00 【dualven_in_csdn】
目录
Differences Between Core Jabber Protocols and XMPP
BOSH定义
BOSH is “Bidirectional-streams Over Synchronous HTTP”, a technology for two-way communication over the Hypertext Transfer Protocol (HTTP). BOSH emulates many of the transport primitives that are familiar from the Transmission Control Protocol (TCP). For applications that require both “push” and “pull” communications, BOSH is significantly more bandwidth-efficient and responsive than most other bidirectional HTTP-based transport protocols and the techniques known as AJAX. BOSH achieves this efficiency and low latency by avoiding HTTP polling, yet it does so without resorting to chunked HTTP responses as is done in the technique known as Comet. To date, BOSH has been used mainly as a transport for traffic exchanged between Jabber/XMPP clients and servers (e.g., to facilitate connections from web clients and from mobile clients on intermittent networks). However, BOSH is not tied solely to XMPP and can be used for other kinds of traffic, as well.
prosody定义
Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.
XMPP
XMPP(Extensible Messaging and Presence Protocol,前称Jabber)协议介绍
可扩展消息处理现场协议(eXtensible Messaging and Presence Protocol , XMPP) 是一种基于可扩展标记语言(eXtensible Markup Language, XML)的近端串流式即时通信协议。它将现场和上下文敏感信息标记嵌入到XML 结构化数据中, 使得人与人之间、应用系统之间以及人与应用系统之间能即时相互通信
XMPP是一种基于XML架构的开放式协议.XMPP的基础部分已经在2002-2004年得到了互联网工程任务组(IETF)的批准,未来XMPP协议会理所当然的同Internet协议TCP/IP、HTTP、FTP、SMTP、POP一样成为Internet标准。
XMPP中定义了三个角色,客户端,服务器,网关。通信能够在这三者的任意两个之间双向发生。服务器同时承担了客户端信息记录,连接管理和信息的 路由功能。网关承担着与异构即时通信系统的互联互通,异构系统可以包括SMS(短信),MSN,ICQ等。基本的网络形式是单客户端通过 TCP/IP连接到单服务器,然后在之上传输XML。
Differences Between Core Jabber Protocols and XMPP
XMMP改编自Jabber开源社区的Jabber草案,所以,你可以把Jabber看做是XMPP0.9。由于已经存在了大量的Jabber的实现,所以说明一下Jabber和XMPP的区别是非常有必要的,同时也能加快个鼓励这些基于Jabber的实现升级到XMPP
参考文档
XMPP——xmpp协议详解、优点、缺点及优化思路 - jessonlv - 博客园
xmpp和jabber的区别_booooooooooooooooooo的博客-CSDN博客
边栏推荐
- 架构篇(一)什么是架构
- 1.4.1 好多好多道符(cin/cout解绑,O3优化)
- GBase8s数据库由数据库对象执行的对照
- How MySQL queries the data in JSON data
- Rk3399 platform development series explanation (alsa subsystem) 4.37, alsa driven framework
- 地图找房的实例
- MySQL和MariaDB区别
- verilog之for循环(1)
- GBase8s数据库以 SET COLLATION 指定对照顺序
- Pointeur de fonction C et fonction de rappel
猜你喜欢
随机推荐
超实用转型攻略:《2022央国企云原生落地实用指南》正式发布
Pytoch implements word2vec
GBase8s数据库SET Database Object Mode 语句
线性回归(公式推导+numpy实现)
shell脚本使用expect自动化交互登录远程主机进行批量关机
济南 章丘 科目三 资料 收集
verilog之for循环(1)
Bigder:37/100 一个误操作
mysql 自增主键出现不连续的原因?
02-线性结构2 一元多项式的乘法与加法运算(链表求解)
GBase8s数据库标识连接
43. 字符串相乘
[3D target detection] sparse convolution
C language branch structure and loop structure (1)
Pytorch实现Word2Vec
基础SQL Server 操作问题——仅当使用了列表并且IDENTITY_INSERT为ON时,才能为表中的标识列制定显示值
深度学习(二)一文带你了解神经网络,激活函数
JS to determine whether the linked image exists
力扣练习——24 去除重复字母
web3分享