码农知识堂 - 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博客 

     

     

  • 相关阅读:
    (个人笔记质量不佳)SQL 左连接、右连接、内连接的区别
    数据分析基础-数据可视化07-用数据分析讲故事
    基于强化学习的节能路由(Matlab代码实现)
    LeetCode_55_跳跃游戏
    【计算机视觉 | 语义分割】语义分割常用数据集及其介绍(四)
    Trie字典树详解
    使用企业微信移动办公效果如何?
    Flink 1.13 源码解析——JobManager启动流程 WebMonitorEndpoint启动
    理想之光不灭
    GPT 的基础 - T(Transformer)
  • 原文地址:https://blog.csdn.net/dualvencsdn/article/details/125910135
  • 最新文章
  • 沪漂五周年了:我越来越迷茫了
    Agentic Skill Routing 实战:别再把所有 Skill 塞进 AI Agent 上下文
    MySQL-Seconds_behind_master的精度误差
    [MAF预定义ChatClient中间件-03]CachingChatClient——利用缓存省钱省时间
    AI的至暗历史:从万众期待到被政府撤资,AI的两次死亡徘徊
    Agent OS :五种驯服不确定性的范式
    PortSwigger SQL注入LAB11
    数据库即时编译JIT
    [Begin]AI Learn Data Day 0
    深度学习进阶(二十七)现代 LLM 的核心架构设计其二:SwiGLU
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号