java XMPPserver openfire VS tigase

两者都支持标准的XMPP协议,插件和组件开发


各自特点: 


  openfire使用搭建更加方便快捷,管理界面也更友好,可视化配置方便,相比tigase功能更加强大丰富一些


  tigase性能更好,支持集群横向扩展,可以支撑更大的用户量 (官网号称单机50w
集群百万)

选择:
如果你是想快速搭建,控制成本,用户量不多的情况下,完全可以选择openfire


   如果你将面对更多用户(十万甚至百万级),并愿意话费时间人力成本进行部署调优,甚至二次开发的话,选择tigase准没错


原文如下,连接地址:http://glennengstrand.info/blog/?p=143

Adopting Real Time Communication: Openfire vs
Tigase

There is a growing trend right now to add real time communication to your
enterprise collaboration solution. Companies are taking a page from the play
books of Facebook and Yahoo (who copied Twitter) and are adding Instant
Messaging to their service offerings. When it comes to IM, consider XMPP which
is the protocol designed from day one for IM.

When setting up your own chat server, there are two open source projects that
you should seriously consider; Openfire and Tigase.

Sponsored by such corporate leaders in IM as Jive, IBM, Apple, and Google, Openfire is an XMPP server written in Java and stewarded by
Ignite Realtime.

Tigase has more humble and open source traditional origins
where an engineer, seasoned in server development, had an “itch to scratch” and
started building this XMPP server.

How are Tigase and Openfire similar? They both fully support the XMPP standard and many of the more
popular extensions to that standard. They both parallel the high extensibility
of the protocol with their own pluggable architecture. They are both written in
Java.

You can extend the chat server functionality by writing your own plugins and
components. The heart of the XMPP is in its three main stanzas; IQ, presence,
and message. IQ is mostly about roster management. Presence is how those away
and available notifications get delivered. Messages are what you text back and
forth with your friends. If you want to add new functionality to those stanzas,
or create your own, then you should write a plugin.If you want to write a chat
bot (i.e. a robot that you can exchange messages with), then you should write a
component.

A JID (Jabber IDentifier) is how you log in to the server and how you address
other users. They look a lot like email addresses. A component has its own JID
whereas a plugin does not.

How are Tigase and Openfire different? Openfire provides a web based
administrative interface which you can extend with your own JSP. You can add
your own plugins by packaging them up in a WAR file and adding them through the
admin interface. Openfire depends on being hosted by a J2EE application
container such as Tomcat. Tigase is a stand-alone program that is executed by
itself. The only administrative interface for Tigase is a text based properties
file that you can edit before launching the Tigase service. To get Tigase to
load your plugins and components, you just have to ensure that your JAR files
are in the classpath prior to starting Tigase.

With Tigase, you can also plug in your own repository instead of depending on
their relational database. Tigase is more oriented towards high scalability with
its support for clustering, virtual hosts, and thread management.

Which one is best for your needs? If you are more concerned about IT
footprint and cost containment than you are about serving large numbers of
people, then you should start with Openfire. If you already know that you are
going to have to serve large numbers of users and are willing to commit the
resources of a server farm, then you won’t go wrong with Tigase.

java XMPPserver openfire VS tigase,布布扣,bubuko.com

时间: 2024-09-30 20:55:16

java XMPPserver openfire VS tigase的相关文章

Strophe.js连接XMPP服务器Openfire、Tigase实现Web私聊、群聊(MUC)

XMPP(Extensible Messaging and Presence Protocol)是一种网络即时通讯协议,它基于XML,具有很强的扩展性,被广泛使用在即时通讯软件.网络游戏聊天.Web聊天及Web消息推送.移动设备的消息推送等场景,例如Google的GTalk.<英雄联盟LOL>游戏聊天模块. 由于在Web浏览器上的JavaScript不能直接处理TCP协议,所以XMPP服务器通常会提供BOSH(Bidirectional-streams Over Synchronous HTT

Oracle触发器如何调用Java实现Openfire消息发送

写在前面,要想实现整个过程的成功执行请先准备以下文件: 1. 登陆Openfire服务端以及Spark客户端相关程序(openfire_4_0_1.exe.spark_2_7_6.exe) 2. 连接Openfire和Oracle相关的jar包(presence.jar.smack.jar.smackx-debug.jar.smackx.jar.ojdbc.jar)  Step1:安装Openfire服务端并配置数据库连接,配置参考<Openfire服务器安装与配置教程> Step2:在Ecl

在XMPP的JAVA开源实现Openfire中,增加LBS 附近的人功能

1. XMPP协议 与 Openfire XMPP协议是IM领域的标准协议了,具体可参考  http://xmpp.org   及RFC6120,RFC6121,RFC6122等相关文档. http://xmpp.org/xmpp-protocols/ XMPP协议实现,开源的也很多,server端可参考 http://xmpp.org/xmpp-software/servers/    client可以参考 http://xmpp.org/xmpp-software/clients/    l

[openfair]解决在centos x64 上安装openfire出现的错误

在centos x64 上安装openfire,运行  /etc/init.d/openfire start后发现服务器没法开启,查看log日志: nohup: failed to run command `/opt/openfire/jre/bin/java': No such file or directory 很奇怪,我是在centos上安装了java,openfire自带的jre就没法使用了,在论坛上搜索到下面的解决办法: http://community.igniterealtime.

Android Mina框架的学习笔记

Apache MINA(Multipurpose Infrastructure for Network Applications) 是 Apache 组织一个较新的项目,它为开发高性能和高可用性的网络应用程序提供了非常便利的框架.当前发行的 MINA 版本支持基于 Java NIO 技术的 TCP/UDP 应用程序开发.串口通讯程序(只在最新的预览版中提供),MINA 所支持的功能也在进一步的扩展中.目前正在使用 MINA 的软件包括有:Apache Directory Project.Asyn

XMPP 客户端和服务端

GPLv2授权不能商用 XMPP协议的客户端软件列表 http://zh.wikipedia.org/wiki/XMPP%E5%8D%94%E8%AD%B0%E7%9A%84%E5%AE%A2%E6%88%B6%E7%AB%AF%E8%BB%9F%E9%AB%94%E5%88%97%E8%A1%A8 下列是片面的即时消息客户端支持Jabber/XMPP协议的清单[1]. 目录 [隐藏] 1 单一协议XMPP客户端 1.1 开放源代码软件 1.2 专有的免费软件 1.3 商业软件 2 多通讯协议客

Mina框架的学习笔记——Android客户端的实现

Apache MINA(Multipurpose Infrastructure for Network Applications) 是 Apache 组织一个较新的项目,它为开发高性能和高可用性的网络应用程序提供了非常便利的框架.当前发行的 MINA 版本支持基于 Java NIO 技术的 TCP/UDP 应用程序开发.串口通讯程序(只在最新的预览版中提供),MINA 所支持的功能也在进一步的扩展中.目前正在使用 MINA 的软件包括有:Apache Directory Project.Asyn

spring+netty+haproxy三人行组合

非常喜欢这个组合,内容转自:http://www.blogjava.net/liuguly/archive/2014/05/21/413900.html netty是个高性能的网络通信框架,该框架性能高异步事件驱动模式,数据读写更高效提供更全面功能强的ByteBuf缓冲.完全可以基于此框架:自定义cs协议通信 如果基于RMI框架,阿里的dubbo,facebook的thrift完全够用了,但是有时候我们的客户端不是java语言所写或者走自定义协议通信,比如流行的openfire,tigase,e

基于XMPP的即时通信系统的建立

XMPP详解 XMPP(eXtensible Messaging and Presence Protocol,可扩展消息处理和现场协议)是一种在两个地点间传递小型结构化数据的协议.在此基础上,XMPP协议已经被用来构建大规模即时通信系统.游戏平台.协作空间及语音和视频会议系统. XMPP由几个小的构造块组成,并在此基础上扩展出了更多的构造块.XMPP中有众多系统:发布-订阅服务.多人聊天.表单检索与处理.服务发现.实时数据传输.隐私处理及远程过程调用等. 大多数社交媒体(Facebook及Twi