Tigase学习

1、Tigase启动入口类:
src/main/java/tigase/server/XMPPServer.java

init.properties中 --sm-plugins sm:SessionManager

IQ:IQ的意思是Info/Query:它是一种请求和应答机制,和http有一些类似的地方。

CData : Connector Data 只是猜测,不清楚对不对

ACS :Tigase Advanced Clustering Strategy 高级集群策略
AMP: Advanced Message Process 高级消息处理

消息归档(Message Archiving)
https://blog.csdn.net/nitianwulai/article/details/50418677

Tsung压力测试
Tsung下载

下载:http://tsung.erlang-projects.org/
下载压缩包,或者通过命令行进行下载,选择合适的版本

How to uninstall Erlang on Ubuntu:

sudo apt-get purge erlang*
Uninstall Erlang on Fedora:

sudo yum remove erlang*
If you installed erlang from source using the default home directory, you would need to rm -rf /usr/local/erlang/.

Additional cleanup might me required if you had manually copied libraries or executable to other folders, like */lib or */bin.

https://stackoverflow.com/questions/22396240/how-to-uninstall-or-upgrade-erlang-otp

https://blog.csdn.net/libing1991_/article/details/47423881
https://blog.csdn.net/libing1991_/article/details/47684433
https://www.awaimai.com/628.html
https://blog.csdn.net/allen056/article/details/53812559

wget http://tsung.erlang-projects.org/dist/tsung-1.7.0.tar.gz
tar zxvf tsung-1.7.0.tar.gz
cd tsung-1.7.0
编译:
./configure --prefix=/usr/local/tsung --with-erlang=/usr/local/erlang
make
make install
验证是否安装成功,先做个软连接方便使用tsung命令
[root@tester~]#ln -s /usr/local/tsung/bin/tsung /usr/bin/
[root@tester~]#tsung

Ubuntu
./configure --prefix=/usr/local/tsung 预先指定安装位置,可以试下(小编没试)

运行环境是依赖于erlang和gnuplot
sudo apt-get install erlang erlang-src gnuplot perl5
http://www.inter12.org/archives/867
:~# apt-get install tsung
安装目录在 /usr/lig/tsung下
?# find ./ -name ‘tsung’ -type d 可以用此命令搜索tsung目录

Tigase学习_第1张图片

~# mkdi .tsung
Tigase学习_第2张图片

# erl 进入erl命令
1>help().
q(). 退出erl 命令, 方法后加. 例 help().

[root@tester~]#perl –v
命令查看显示perl 当前版本信息。
[root@tester~]#gnuplot
命令查看gnuplot 的安装版本
exit 退出

[root@tester~]#erl
显示下面样子结果说明安装成功:

https://www.awaimai.com/628.html#i-2
https://www.cnblogs.com/tsbc/p/4272974.html

Tigase资料
https://blog.csdn.net/hurryjiang/article/details/47976911
https://blog.csdn.net/jerry0827/article/details/8860731
https://blog.csdn.net/chszs/article/details/49886247
https://blog.csdn.net/cancer_dd/article/details/38872497
https://blog.csdn.net/nomousewch/article/details/34097565
https://blog.csdn.net/hurryjiang/article/details/48026219

https://my.oschina.net/greki/blog/209726
http://crazysky.iteye.com/blog/722072
https://my.oschina.net/greki/blog/209739
http://www.360doc.com/content/16/0410/11/16915_549422434.shtml
http://www.360doc.com/content/16/0410/12/16915_549427391.shtml
http://blog.51cto.com/chenyanxi/1436702
https://blog.csdn.net/hurryjiang/article/details/47973645
http://www.360doc.com/content/16/0410/12/16915_549427281.shtml
https://blog.csdn.net/hurryjiang/article/details/47974445
http://jianfulove.iteye.com/blog/2171087
http://ju.outofmemory.cn/entry/82872
https://my.oschina.net/lujianing/blog/228420
http://www.codeweblog.com/%E6%A0%B9%E6%8D%AE%E6%BA%90%E7%A0%81%E7%A0%94%E7%A9%B6tigase%E5%86%85%E9%83%A8%E5%A4%84%E7%90%86%E6%9C%BA%E5%88%B6/
http://www.codeweblog.com/tigase%E6%8F%92%E4%BB%B6-%E2%80%93-%E7%BC%96%E5%86%99%E6%8F%92%E4%BB%B6/
http://www.mamicode.com/info-detail-1004006.html
https://blog.csdn.net/hurryjiang/article/details/47976911
http://jianfulove.iteye.com/blog/2175750
https://www.cnblogs.com/tsbc/p/4272974.html
https://www.awaimai.com/628.html#i-2
https://blog.csdn.net/jeepxiaozi/article/details/42784201
http://www.mamicode.com/info-detail-97036.html
https://www.cnblogs.com/yangxia-test/p/4330571.html
https://blog.csdn.net/allen056/article/details/53812559
https://blog.csdn.net/wohuozheng/article/details/70173363
https://blog.csdn.net/Irelia_/article/details/82387747 Tigase注册流程
天行健 Tigase中文文档-开发者部分

知行天下 http://www.inter12.org/archives/date/2014/06
https://blog.csdn.net/zoe984623/article/details/83675295 tigase自定义插件的开发与配置
https://blog.csdn.net/lylwo317/article/details/45170509 搭建Tigase进行二次开发
https://blog.csdn.net/Irelia_/article/details/81540787
https://blog.csdn.net/navagate/article/details/45956293 XMPP协议 搭建Tigase开发环境
https://blog.csdn.net/hffyyg/article/details/84006172 深入认识Tigase XMPP Server(下)
https://blog.csdn.net/hurryjiang/article/details/47973645 Tigase开发笔记4:Tigase Component组件开发
https://blog.csdn.net/hurryjiang/article/details/47976911 Tigase开发笔记5:如何自定义插件 Plugin
https://www.cnblogs.com/jessonlv/p/4387978.html
https://www.cnblogs.com/xing901022/p/8678869.html 漫谈Java IO之 Netty与NIO服务器

https://blog.csdn.net/weixin_39986856/article/details/81029535 tigase深入理解xmpp服务器-概念总览
Tigase实现的XMPP协议:
https://tigase.net/service-features
https://tigase.net/android-features
https://tigase.net/jaxmpp-features
https://www.cnblogs.com/chenxingrui/p/3702010.html

Rest Api
https://tigase.tech/boards/17/topics/4663
https://tigase.tech/boards/15/topics/3323
https://blog.csdn.net/fhzjhfr/article/details/53767439 tigase rest Api 发送消息 解决消息中文乱码问题
https://blog.csdn.net/fhzjhfr/article/details/53708592 tigase 启用Http Rest API 问题整理
https://xmpp.org/

只不过在smack要4.1.x以上版本,而且默认是不开启流管理功能的,所以要手动的开启一下,剩下的事情由smack和openfire来完成。在建立TCPConnection前执行正面这句:
流管理:
mConnection.isSmResumptionPossible() 判断是否服务端是否开启了流管理
XMPPTCPConnection.setUseStreamManagementResumptionDefault(true);

connection.setUseStreamManagement(true);
connection.setUseStreamManagementResumption(true);

关闭连接

instantShutdown()

https://blog.csdn.net/5207/article/details/72822399 XMPP协议之消息回执解决方案
http://developerworks.github.io/2014/10/03/xmpp-xep-0198-stream-management/ XMPP XEP-0198流管理 - 协议
http://blog.csdn.net/chszs/article/details/48576553
https://discourse.igniterealtime.org/t/xmpptcpconnection-issmresumptionpossible-returns-always-true-in-a-case-of-reconnection/73244/2
https://blog.csdn.net/irelia_/article/details/82387747 Tigase注册流程总结
https://blog.csdn.net/yuedong56/article/details/38120101 XMPP协议扩展:XEP-0198 流管理(Stream Management)中文翻译(个人整理,难免有翻译错的地方,请多多指正)
https://blog.csdn.net/cancer_dd/article/details/38872497 tigase的message流转
https://blog.csdn.net/qq_38607742/article/details/83687502 nginx1.9 实现tigase的负载均衡搭建,TCP转发
https://blog.csdn.net/javarrr/article/details/83624200 Tigase 发送消息的流程源码分析
https://blog.csdn.net/it_yeye/article/details/52120278 tigase的message流转

更新于2019年5月28日 9:21:
公司 sdy
http://www.itgo.me/a/x7777016439117138074/how-to-enable-stream-management-in-ejabberd-server android - How to enable stream management in ejabberd server?
https://docs.tigase.net/tigase-server/snapshot/Administration_Guide/html/
https://tigase.tech/attachments/1858/init.properties
https://blog.csdn.net/lylwo317/article/details/45170509?locationNum=6
https://my.oschina.net/greki/blog/209932 Tigase组件 – Packet过滤

presence-state	Xmpp 顶级元素,上线广播
Jabber:iq:privacy	隐身协议
Jabber:iq:version	客户端版本
http://jabber.org/protocol/stats	是否发送统计信息,指向jabber.org发送
startls	tls 加密
msgoffline	离线消息
vcard-temp	临时的vCard
http://jabber.org/protocol/commands	管理 virtual domains 的特别命令
Jabber:iq:private	私有数据储存
urn:xmpp:ping	心跳检测
Presence-subscription	发布订阅插件
Domain-filter(basic-filter)	Domain 拦截器
Amp(basic-filter)	高级消息处理
Zlib(basic-filter)	Zlib压缩
Message-carbons(basic-filter)	将stanzas投递到用户指定的资源
Disco(basic-filter)	服务发现
Amp	高级消息处理
Bosh	提供客户端http长连接
C2S	提供客户端tcp连接
Cl-comp	内置集群组件
eventbus	事件总线,内部处理
message-archive	消息归档
Monitor	监控
Muc	聊天室
Proxy	代理
Pubsub	发布订阅
Sess-man	会话管理

http://www.it610.com/article/2154700.htm tigase内部处理(1):启动
https://blog.csdn.net/yezis/article/details/50379425 openfire–好友管理各种状态纠结
https://blog.csdn.net/maidou_2011/article/details/14454569 【openfire添加好友流程梳理】
https://blog.csdn.net/TCH987551623/article/details/84805487 tigase 安装及基本开发
https://blog.csdn.net/lqglqglqg/article/details/41046405 tigase组件安装及调试过程
http://www.inter12.org/archives/879 tigase的笔记一 — 基本的配置
https://my.oschina.net/greki/blog/209485 Tigase输出从客户端和服务器的请求应答日志

你可能感兴趣的:(Tigase,即时通讯)