Ejabberd


ejabberd is an XMPP application server and an MQTT broker, written mainly in the Erlang programming language.
It can run under several Unix-like operating systems such as Mac OS X, GNU/Linux, FreeBSD, NetBSD, OpenBSD and OpenSolaris. Additionally, ejabberd can run under Microsoft Windows. The name ejabberd stands for Erlang Jabber Daemon and is written in lowercase only, as is common for daemon software.
ejabberd is free software, distributed under the terms of the GNU General Public License., it is one of the most popular open source applications written in Erlang. XMPP: The Definitive Guide praised ejabberd for its scalability and clustering feature, at the same time pointing out that being written in Erlang is a potential acceptance issue for users and contributors. The software's creator, Alexey Shchepin was awarded the Erlang User of the Year award at the 2006 Erlang user conference.
ejabberd has a number of notable deployments, IETF Groupchat Service, BBC Radio LiveText, Nokia's Ovi, KDE Talk and one in development at Facebook. ejabberd is the most popular server among smaller XMPP-powered sites that register on xmpp.org.
With the next major release after version 2, the versioning scheme was changed to reflect release dates as "Year.Month-Revision". It was also announced that further development will be split into an "ejabberd Community Server" and an "ejabberd Commercial Edition targets carriers, websites, service providers, large corporations, universities, game companies, that need high level of commitment from ProcessOne, stability and performance and a unique set of features to run their business successfully."

Project history

Alexey Shchepin started ejabberd in November 2002 for three main reasons: success with Tkabber, a rather unstable first alpha release of jabberd2, and his wish to play with Erlang features. Shchepin has stated that he would have not started ejabberd without Erlang. Ejabberd hit version 1.0 in December 2005.

Features

ejabberd has a high level of compliance with XMPP.
It provides a web interface which can be translated into other languages.
ejabberd supports distributed computing by clustering, supports live upgrades, shared roster groups and provides support for virtual hosts.
Database management systems supported include PostgreSQL and MySQL, and ODBC is supported for connectivity to other systems.
LDAP authentication is supported, as is login via SSL/TLS, SASL and STARTTLS.
ejabberd is extensible via modules, which can provide support for additional capabilities such as saving offline messages, connecting with IRC channels, or a user database which makes use of user's vCards.
In addition, modules can provide support for extensions of the XMPP protocol, such as MUC, HTTP polling, Publish-Subscribe, and gathering statistics via XMPP.
Starting with version 2.0.0 ejabberd also includes support for the Proxy65 file transfer proxy which enabled Jabber/XMPP users behind firewalls to share files through a SOCKS 5 proxy.
ejabberd can communicate with other XMPP servers and with non-XMPP instant messaging networks as well, using a special type of XMPP component called transport or gateway.

Distribution methods

In addition to the source code package and binary installers for GNU/Linux,, and Windows, ejabberd is also available in several operating system distributions as is typical in FOSS, including Debian, Fedora, Gentoo, Ubuntu, Arch Linux, OpenSolaris, FreeBSD Ports, OpenBSD ports, NetBSD port and Mac OS X's Fink.
Other methods in which ejabberd is available are the TurnKey Linux Virtual Appliance Library and Comprehensive Erlang Archive Network. An old version of ejabberd is included in the Unison unified communications software.

Notable deployments

ejabberd is known to be used by XMPP-related sites and a number of companies, either for providing an XMPP instant messaging service, as a meeting chat room service, or as middleware for other software.
XMPP servers deployed for XMPP-related sites are usually run using ejabberd, both in case of large and small servers. One large public XMPP servers runs ejabberd: the Russian jabber.ru, that handles between 10,000 and 20,000 concurrent users at any time. Among smaller XMPP-related sites, ejabberd is also the most popular server. When not taking into account the size or nature of the server, ejabberd is also the most widely deployed: according to IMtrends report from July 2008 based in automated server detection, 37% of 7292 servers were running ejabberd; the second position being jabberd14 with 22.4% and the third Openfire with 18.4%.
Among generic instant messaging deployments are ISPs like the Portuguese SAPO, and the German United Internet for services like GMX and Web.de.
The Russian search engine Yandex uses a highly modified version of ejabberd, named Yabberd.
Nokia's Ovi uses ejabberd with some customizations.
Major League Baseball offers instant messaging and chatrooms using a customized ejabberd. Mxit was a large server for mobile instant messaging client that started using ejabberd in 2005, but was replaced with a custom IM engine. Universities known to use ejabberd include: Saint Petersburg State University, Taganrog State University and the Division of Information Technology of the University of Wisconsin–Madison.
In the FOSS world, there is a pair of notable generic deployments of ejabberd, namely the KDE Talk and the Fellowship of the Free Software Foundation Europe.
ejabberd chatroom feature provides the IETF Groupchat Service, used by the various working groups, areas, and BOF sessions during meetings and at other times.
Other deployments use ejabberd in more novel ways. For instance, BBC Radio LiveText uses ejabberd's Publish-Subscribe service to synchronously broadcast text content with the radio stream.
sameplace.cc is a Mozilla Firefox extension that integrates Jabber/XMPP in the web browser,
and uses ejabberd for the XMPP server.
Other deployments include Chesspark, Collecta, and Notifixious.
One Laptop per Child's School server uses ejabberd with OLPC-specific patches as the instant messaging server.
In 2008 Facebook announced that they will support XMPP for their chat service. Facebook developers made a presentation on the topic at Commercial Users of Functional Programming 2009 conference, and in November 2009 chat.facebook.com was detected as running a modified version of ejabberd. Om Malik commented on the development as "disruptive" competition for "older IM networks such as AOL's AIM and Microsoft's MSN". On Feb 10th 2010, the Facebook blog announced the opening of the XMPP interface to Facebook chat, based on ejabberd.
Another social media and blogging service that uses ejabberd is LiveJournal Talk. The Spanish-focused Tuenti social network uses a modified ejabberd to provide a live chat service.
The worldwide jabber.org XMPP server, with a userbase of 330,000 users and 15,000 users online at any one time in December 2009, have used ejabberd since February 2006 until January 2010.
Nintendo Switch uses ejabberd in its "Nintendo Switch Push Notification infrastructure" handling 10 million simultaneous connections.

Publications and reception

Two articles are published about ejabberd in magazines:
"Démarrer avec ejabberd" in the French magazine PROgrammez!
and "Passing notes in class", a post in Free Software Magazine.
Computerworld Australia interviewed Erlang creator Joe Armstrong in June 2009, and he referred to ejabberd in this way:
Builder Australia interviewed Andre Pang in September 2007,
and referred to ejabberd in those terms: "the apps that Erlang is suited for really aren't CPU bound that often, if you look at ejabberd, it serves some absolutely crazy amount of concurrent connections, well over 100,000, and they're running it on, I'm not sure, but it's something like a Quad core XEON machine."
ejabberd is mentioned in several books related to the XMPP protocol and the Erlang language.
XMPP: The Definitive Guide refers to ejabberd in those terms: The server is well-known for its scalability, and it can be clustered across multiple instances. A 2006 internal review paper in the IT department of Cambridge University found it the best choice amongst Jabber servers. In the same year Alexey Shchepin was awarded the "User of the Year" award at the 12th International Erlang/OTP User Conference.
Other published books that mention ejabberd are:
ejabberd was used in research works of papers published in international conferences proceedings and journals:
There are four patent applications published in the United States Patent and Trademark Office that involve ejabberd: