AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ejabberd git3/2/2023 ![]() Then a created a configuration like this in /var/lib/prosody/migrator.cfg. For Debian the package prosody-migrator-0.11 needed to be installed. Prosody provides the prosody-migrator tool for that. To be able to use this tool, I first needed to convert my Prosody SQL backend to a file based backend. There’s an Ejabberd feature import_prosody that takes Prosody file storage data and transfers it into Ejabberd’s data backend. Converting data from PostgreSQL backend to file backend Testing with Īs soon as I was happy with the test results I checked how I could transfer Prosody user data to Ejabberd. How I did itįirst set up a demo server on a different domain to check if Ejabberd satisfies my requirements (mainly supporting all Conversations features). ![]() As I personally like PostgreSQL and consider it a very reliable and great performing database system, I decided to use it for my new Ejabberd instance, too. Prosody was running with the PostgreSQL backend, because MySQL turned out to perform not good enough for that big amount of users (>8,000 registered, ~2,000 active). For a public service, I feel better using Ejabberd as a more “enterprisy” solution. I’d suggest to use Prosody for home / private use, because usually it is easy to handle. When developing, the provider refers to it instead of Prosodyĭon’t get me wrong: I still consider Prosody a good XMPP server - but maybe it’s just not made for big servers like mine. Said to be very stable and robust - Big Enterprise use cases confirm that.Ejabberd uses all of the available CPU cores.Erlang language is made exactly for this kind of application (very performant).Developers have long time experience with XMPP - Ejabberd is very mature.Sometimes not up to date with new XMPP standards required by Conversations Android appĮjabberd has some advantages over Prosody:. ![]() In the future I’d like to provide a highly available XMPP setup. I was not happy with that on my 16 cores server. Prosody is only using one single CPU core.The situation got a bit better with mod_external_upload and new versions of the PostgreSQL connectivity code, but is still not satisfactory. I needed to restart Prosody about every 2-3 days to make it use less than 8 GB. Prosody consumes lots of system memory.Most of them are based on flaws in Prosody that will probably not be solved too soon: There ware multiple reasons for my decision to give Ejabberd a chance. To interface with ejabberd, one can use any. There is no such thing as an ejabberd client. I’d like to leave you a few notes on why and how I did that. ejabberd is strictly an XMPP / Jabber server implementation. Once installed, add OpenSSL to your /etc/environment file and reboot.Yesterday I moved my old Prosody setup to a new Ejabberd-based XMPP server setup. config -Wl,-enable-new-dtags,-rpath,'$(LIBRPATH)'
0 Comments
Read More
Leave a Reply. |