码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • prosody相关概念了解。xmpp,jabber,bosh等


    目录

    BOSH定义

    prosody定义

    XMPP

    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协议内容

    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 | An Overview of XMPP

    Welcome – Prosody IM 

    XMPP——xmpp协议详解、优点、缺点及优化思路 - jessonlv - 博客园 

    xmpp和jabber的区别_booooooooooooooooooo的博客-CSDN博客 

     

     

  • 相关阅读:
    怎么提高外贸开发信的回复率?
    用深度学习预测股市涨跌之学习记录
    python LeetCode 刷题记录 58
    最大电流1A,峰值电流1.1A单节锂离子电池充电芯片DP4056使用注意事项
    Cloud
    mysql 过滤多列重复的值(保留其中一条),对单列或者多列重复的值去重
    C#反射中的GetConstructor与GetConstructors构造函数参数的获取
    数据脱敏的功能与技术原理【详解】
    数据仓库概念
    Python 接口测试之接口关键字封装
  • 原文地址:https://blog.csdn.net/dualvencsdn/article/details/125910135
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号