Retrieve Archive Delay on Openfire, how about Ejabberd?

守給你的承諾、 提交于 2020-01-25 05:27:05

问题


I am using Openfire server with Strophe and it has the Monitoring Plugin installed. It archives my messages, and I use strophe to load them. But there is a 30seconds-1min delay for the messages to be put into the database.

I am wondering, if I use Ejabberd to archive messages, and the messages get put into the database, is there a delay as well?


回答1:


There will be no delay on the ejabberd. As I was working on retrieving the messages using ejabberd, I didn't found any delay while retrieving the messages and even while putting in the database. It might take some nano or micro seconds to put in database but while retrieving I am sure there is no delay in my POC app.

I worked with Ejabberd and its pretty awesome. I don't know much about openfire and I really suggest you to switch over to Ejabberd.

Ejabberd has an Admin panel which shows online users, virtual hosts, nodes, modules and lots of stuff which admin can access atmost. Its pretty much easier for Installation and Configuration. Ejabberd is actively developed and widely used.

Ejabberd supports all the messaging features. While installation all the modules will be installed. If you want to install some external module (not developed by Ejabberd Official people), then go through with that module installation docs. Some of the modules which are developed by Ejabberd wont get installed while ejabberd setup. Take a look here for those modules. You can install these modules as:

ejabberdctl module_update_specs
ejabberdctl module_install <module_name>

After installing the module, just enable that module at modules section in the ejabberd configuration file.



来源:https://stackoverflow.com/questions/32266857/retrieve-archive-delay-on-openfire-how-about-ejabberd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!