ejabberd
ejabberd is an Extensible Messaging and Presence Protocol (XMPP) application server and an MQ Telemetry Transport (MQTT) broker, written mainly in the Erlang programming language. It can run under several Unix-like operating systems such as macOS, Linux, FreeBSD, NetBSD, OpenBSD and OpenSolaris. Additionally, ejabberd can run under Microsoft Windows. The name ejabberd stands for Erlang Jabber Daemon (Jabber being a former name for XMPP) and is written in lowercase only, as is common for daemon software.
Original author(s) | Alexey Shchepin |
---|---|
Developer(s) | ProcessOne |
Initial release | February 11, 2003 |
Stable release | |
Repository | |
Written in | Erlang |
Operating system | Cross-platform |
Available in | 28 languages[3] |
List of languages Albanian, Catalan, Chinese (Simplified), Czech, Dutch, Esperanto, French, Galician, German, Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Norwegian Bokmal, Polish, Portuguese, Portuguese (Brazil), Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese, Walloon | |
Type | XMPP server, MQTT broker, SIP service |
License | GPL-2.0-or-later |
Website | www |
ejabberd is free software, distributed under the terms of the GNU GPL-2.0-or-later. As of 2009, it is one of the most popular open source applications written in Erlang.[4] XMPP: The Definitive Guide (O'Reilly Media, 2009) 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.[5] The software's creator, Alexey Shchepin was awarded the Erlang User of the Year award at the 2006 Erlang user conference.[6]
ejabberd has a number of notable deployments, IETF Groupchat Service,[7][8] BBC Radio LiveText,[9] Nokia's Ovi,[10] KDE Talk[11] and one in development at Facebook.[12][13] As of 2009 ejabberd is the most popular server among smaller XMPP-powered sites that register on xmpp.org.[14]
With the next major release after version 2 (previously called ejabberd 3), the versioning scheme was changed to reflect release dates as "Year.Month-Revision" (starting with 13.04-beta1). It was also announced that further development will be split into an "ejabberd Community Server" and an "ejabberd Commercial Edition [which] 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."[15]
Project history
Alexey Shchepin started ejabberd in November 2002[16] for three main reasons: success with Tkabber (his previous project, an XMPP client), 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.[17] Ejabberd hit version 1.0 in December 2005.[18]
Features
ejabberd has a high level of compliance with XMPP.[19] It provides a web interface which can be translated into other languages. ejabberd supports distributed computing by clustering, supports live upgrades,[20] 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 (saving vCards in LDAP or an ODBC compatible database is possible with other modules). In addition, modules can provide support for extensions of the XMPP protocol, such as MUC,[21] 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.[22]
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 Linux, macOS, and Windows,[23] 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.[24][25]
Other methods in which ejabberd is available are the TurnKey Linux Virtual Appliance Library[26] and Comprehensive Erlang Archive Network (CEAN).[27] 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 (usually by means of the Publish-Subscribe service).
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,[28] that handles between 10,000 and 20,000 concurrent users at any time.[29] Among smaller XMPP-related sites, ejabberd is also the most popular server.[14] 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%.[30]
Among generic instant messaging deployments are ISPs like the Portuguese SAPO,[31] and the German United Internet for services like GMX and Web.de.[32][33][34] The Russian search engine Yandex uses a highly modified version of ejabberd, named Yabberd.[35] Nokia's Ovi uses ejabberd with some customizations.[10] Major League Baseball offers instant messaging and chatrooms using a customized ejabberd.[36][37] Mxit was a large server for mobile instant messaging client that started using ejabberd in 2005, but was replaced with a custom IM engine.[38] Universities known to use ejabberd include: Saint Petersburg State University,[39] Taganrog State University[40][41] and the Division of Information Technology of the University of Wisconsin–Madison.[42]
In the FOSS world, there is a pair of notable generic deployments of ejabberd, namely the KDE Talk[11] and the Fellowship of the Free Software Foundation Europe.[43][44]
ejabberd chatroom feature provides the IETF Groupchat Service, used by the various working groups, areas, and BOF sessions during meetings and at other times.[7][8]
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.[9] sameplace.cc is a Mozilla Firefox extension that integrates Jabber/XMPP in the web browser, and uses ejabberd for the XMPP server.[45][46] Other deployments include Chesspark (online chess playing site),[47] Collecta (real-time search),[48] and Notifixious (notifications of website subscriptions).[49]
One Laptop per Child's School server uses ejabberd with OLPC-specific patches as the instant messaging server.[50]
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 (CUFP) 2009 conference,[12] 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".[13] On Feb 10th 2010, the Facebook blog announced the opening of the XMPP interface to Facebook chat,[51] based on ejabberd.
Another social media and blogging service that uses ejabberd is LiveJournal Talk.[52][53] The Spanish-focused Tuenti social network uses a modified ejabberd to provide a live chat service.[54]
The worldwide jabber.org XMPP server, with a userbase of 330,000 users[55] and 15,000 users online at any one time in December 2009,[56] have used ejabberd since February 2006[57][58] until January 2010.[59] (In 2010 Jabber.org migrated to M-Link XMPP server from Isode Limited.[60])
Nintendo Switch uses ejabberd in its "Nintendo Switch Push Notification infrastructure" (NPNS) handling 10 million simultaneous connections.[61]
Publications and reception
Two articles are published about ejabberd in magazines: "Démarrer avec ejabberd" in the French magazine PROgrammez![62] and "Passing notes in class", a post in Free Software Magazine.[63]
Computerworld Australia interviewed Erlang creator Joe Armstrong in June 2009,[64] and he referred to ejabberd in this way:
- Q: "What's the most interesting program(s) you've seen written with Erlang for business?"
- A: "That's difficult to answer, there are many good applications. Possibly Ejabberd which is an open-source Jabber/XMPP instant messaging server. Ejabberd appears to be the market leading XMPP server and things like Google Wave which runs on top of XMPP will probably attract a lot of people into building applications on XMPP servers."
Builder Australia interviewed Andre Pang in September 2007,[65] 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 (O'Reilly Media, 2009) refers to ejabberd in those terms: The server is well-known for its scalability, and it can be clustered across multiple instances.[66] A 2006 internal review paper in the IT department of Cambridge University found it the best choice amongst Jabber servers.[67] In the same year Alexey Shchepin was awarded the "User of the Year" award at the 12th International Erlang/OTP User Conference.[6]
Other published books that mention ejabberd are:
- "Programming Erlang: Software for a Concurrent World" (Pragmatic Bookshelf, 2008)[68]
- "Erlang Programming: A Concurrent Approach to Software Development" (O'Reilly Media, 2009)[69]
- "Openfire Administration: A practical step-by-step guide to rolling out a secure Instant Messaging service over your network" (Packt Publishing, 2008)[70]
- "Fedora 11 and Red Hat Enterprise Linux Bible" (Wiley, 2009)[71]
ejabberd was used in research works of papers published in international conferences proceedings and journals:
- XMPP for cloud computing in bioinformatics supporting discovery and invocation of asynchronous web services[72]
- Kestrel: an XMPP-based framework for many task computing applications[73]
- IM'ing overload: Libraryh3lp to the rescue[74]
- Towards an Enhanced Adaptability and Usability of Web-Based Collaborative Systems[75]
- Leveraging Visual Tailoring and Synchronous Awareness in Web-Based Collaborative Systems[76]
- Adding New Communication Services to the FIPA Message Transport System[77]
There are four patent applications published in the United States Patent and Trademark Office that involve ejabberd:
- US 2007/0271367 A1: Systems and Methods for Location-Based Social Web Interaction and Instant Messaging System[78][79]
- US 2008/0062969 A1: Instant Message Call Connect System Apparatus and Database[80]
- US 2008/0062970 A1: Instant Message Call Connect System Method and Interface[81][82]
- US 2008/0235189 A1: System for Searching for Information Based on Personal Interactions and Presences and Methods Thereof[83]
See also
References
- "23.04". GitHub.
- "ejabberd 23.04". 18 April 2023.
- "Localization | ejabberd". Retrieved 2021-07-27.
- Francesco Cesarini, Simon Thompson, Erlang Programming, O'Reilly Media, 2009, ISBN 0-596-51818-8, p. 2
- Peter Saint-André, Kevin Smith, Remko Tronçon, XMPP: The Definitive Guide: Building Real-Time Applications with Jabber Technologies, O'Reilly Media, 2009, ISBN 0-596-52126-X, p. 253
- "Erlang User Conference 2006". Erlang.se. 2006-11-09. Archived from the original on 2010-08-12. Retrieved 2012-02-10.
- "IETF Groupchat/Chatroom Service". Archived from the original on 2012-05-10. Retrieved 2012-02-13.
- "online verification of jabber.ietf.org service". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
- LiveText-via-IP upgrade and other synchronously delivered content
- "online verification of ovi.com XMPP server software". Archived from the original on 2011-07-13. Retrieved 2009-12-20.
- KDETalk.net, the KDE XMPP server
- "Functional Programming at Facebook" (PDF). Cufp.galois.com. 4 September 2009. Archived from the original (PDF) on 24 December 2012. Retrieved 2012-11-12.
- "Facebook Pokes XMPP. MSN, Yahoo & AIM Better Watch Out — Tech News and Analysis". Gigaom.com. 2009-11-05. Archived from the original on 2010-01-30. Retrieved 2012-02-10.
- Public XMPP Services
- ejabberd Community Server 13.03 ejabberd mailing list, posted by Mickaël Rémond. 2013-03-22. Retrieved 2013-06-02.
- Initial revision
- "aleksey speaks (interview to Alexey Shchepin)". Archived from the original on 2010-02-26. Retrieved 2009-12-21.
- For full release history, see https://ejabberd.im/releases
- "Release Note ejabberd 1.0.0". ProcessOne. 14 December 2005. Retrieved 2008-03-11.
- Rémond, Mickaël (July 16, 2007). "Live code upgrade: A must-have feature for high-availability deployments". ProcessOne. Archived from the original on 2008-03-06. Retrieved 2008-03-11.
- XMPP.ORG, "XEP-0045: Multi-User Chat"
- "XEP-0065: SOCKS5 Bytestreams". XMPP Standards Foundation. 2007-05-21. Retrieved 2008-03-11.
- ejabberd Download Archive
- "ejabberd downloads counter with links to OS distributions". Archived from the original on 2014-10-11. Retrieved 2014-10-07.
- "Arch Linux package details". Archived from the original on 2010-09-25. Retrieved 2010-10-09.
- TurnKey Linux Appliance for XMPP and Web Chat Archived 2009-11-24 at the Wayback Machine
- "CEAN package for ejabberd". Archived from the original on 2011-07-24. Retrieved 2009-12-18.
- "online verification of jabber.ru XMPP server software". Archived from the original on 2011-07-13. Retrieved 2009-12-18.
- "online statistics of jabber.ru XMPP server". Archived from the original on 2009-12-17. Retrieved 2009-12-18.
- Usage estimation of public XMPP servers per domain
- "Novo servidor online". pedrocs from SAPO. 2007-02-16. Archived from the original on 2011-08-20. Retrieved 2009-12-17.
- GMX bringt eigenen Instant Messenger heraus
- GMX plant Instant-Messenger für viele Protokolle
- "online verification of gmx.de XMPP services". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
- "online verification of yandex.ru running yabberd". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
- Hitting a home run with IM
- Major League of Baseball teams up with ProcessOne to deploy large scale chat system
- "Inclusion of Mxit plugin into Pidgin". Archived from the original on 2011-07-09. Retrieved 2009-12-24.
- "online verification of spbu.ru XMPP server software". Archived from the original on 2011-07-13. Retrieved 2009-12-24.
- XMPP TSURE Server Archived 2010-10-07 at the Wayback Machine
- "online verification of jabber.tsure.ru XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-24.
- "online verification of doit.wisc.edu XMPP server version". Archived from the original on 2011-07-13. Retrieved 2009-12-24.
- FSFE Jabber wiki Archived 2012-02-22 at the Wayback Machine
- "online verification of jabber.fsfe.org XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
- Back in game Archived 2008-06-18 at the Wayback Machine
- "online verification of sameplace.cc XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-20.
- Choosing An XMPP Server
- "online verification of XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-22.
- Switch from Openfire to Ejabberd: done! Archived 2009-04-23 at the Wayback Machine
- Run a jabber server
- "Facebook Chat Now Available Everywhere | Facebook". Blog.facebook.com. Retrieved 2012-02-10.
- New LJTalk server Archived 2009-08-03 at the Wayback Machine
- "online verification of livejournal.com XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-23.
- Chat in the making; written by Carlos Abalde, Backend Engineer in Tuenti
- Server Migration Coming Soon Archived 2009-12-20 at the Wayback Machine
- At the jabber.org service we typically have ~15,000 users online at any one time
- e-jabbering Archived 2011-07-21 at the Wayback Machine
- Saint-Andre, Peter (February 26, 2006). "jabber.org upgrade". Juser mailing list. Jabber.org. Retrieved 2009-12-16.
- To Our Users Archived 2010-06-10 at the Wayback Machine
- Update from jabber.org
- ProcessOne (2019-06-05). "ejabberd & Nintendo Switch NPNS". ProcessOne Blog. Retrieved 2020-03-09.
- "Démarrer avec ejabberd" at magazine PROgrammez!
- "Passing notes in class" at Free Software Magazine Archived 2009-09-23 at the Wayback Machine
- The A-Z of Programming Languages: Erlang
- "Interview: The importance of being Erlang". Archived from the original on 2009-12-27. Retrieved 2009-12-23.
- Peter Saint-André, Kevin Smith, and Remko Tronçon's XMPP: The Definitive Guide
- Tony Finch, University of Cambridge Computing Service, , p. 4
- Joe Armstrong (Pragmatic Bookshelf, 2007, ISBN 978-1-934356-00-5)
- Francesco Cesarini, Simon J. Thompson (O'Reilly Media, 2009. ISBN 978-0-596-51818-9) - Erlang Programming: A Concurrent Approach to Software Development Archived 2019-10-16 at the Wayback Machine
- Mayank Sharma's Openfire Administration: A practical step-by-step guide to rolling out a secure Instant Messaging service over your network
- Christopher Negus's Fedora 11 and Red Hat Enterprise Linux Bible
- Wagener, Johannes; Ola Spjuth; Egon L Willighagen; Jarl ES Wikberg (September 2009). "XMPP for cloud computing in bioinformatics supporting discovery and invocation of asynchronous web services". BMC Bioinformatics. BioMed Central Ltd. 10: 279. doi:10.1186/1471-2105-10-279. PMC 2755485. PMID 19732427.
- Stout, Lance; Michael A. Murphy; Sebastien Goasguen (2009). "Kestrel: an XMPP-based framework for many task computing applications". MTAGS '09: Proceedings of the 2nd Workshop on Many-Task Computing on Grids and Supercomputers. New York, USA: ACM. doi:10.1145/1646468.1646479. ISBN 978-1-60558-714-1.
- Theiss-White, Danielle; Jenny Dale; Melia Erin Fritch; Laura Bonella; Jason Coleman (2009). "IM'ing overload: Libraryh3lp to the rescue". Library Hi Tech News. Bingley, United Kingdom: Emerald Group Publishing Limited. 26 (1/2): 12–17. doi:10.1108/07419050910966481. ISSN 0741-9058. S2CID 60501628.
- Lukosch, Stephan; Mohamed Bourimi (December 2008). "Towards an Enhanced Adaptability and Usability of Web-Based Collaborative Systems". International Journal of Cooperative Information Systems. Singapore: World Scientific Publishing Co. 17 (4): 467–494. doi:10.1142/S0218843008001944. ISSN 0218-8430.
- Bourimi, Mohamed; Stephan Lukosch; Falk Kühnel (2007). "Leveraging Visual Tailoring and Synchronous Awareness in Web-Based Collaborative Systems". Groupware: Design, Implementation, and Use. Vol. 4715/2007. Springer Berlin / Heidelberg. pp. 40–55. doi:10.1007/978-3-540-74812-0_4. ISBN 978-3-540-74811-3. ISSN 0302-9743.
- Palanca, Javier; Miguel Escrivá; Gustavo Aranda; Ana García-Fornes; Vicente Julian; Vicent Botti (September 2006). "Adding New Communication Services to the FIPA Message Transport System". Multiagent System Technologies. Lecture Notes in Computer Science. Springer Berlin / Heidelberg. 4196/2006: 1. doi:10.1007/11872283_1. ISBN 978-3-540-45376-5. ISSN 0302-9743.
- Patent US 2007/0271367 A1 in Google Patents Archived 2011-07-22 at the Wayback Machine Application Number: 11/796,304 Filing Date: 27 Apr 2007 Publication Number: US 2007/0271367 A1 Publication Date: 22 Nov 2007 Inventors: Zohar Yardeni, John Londono
- Patent US 2007/0271367 A1 in Free Patents Online
- Patent US 2008/0062969 A1 in Google Patents Archived 2011-07-22 at the Wayback Machine Application Number: 11/853,640 Filing Date: 11 Sep 2007 Publication Number: US 2008/0062969 A1 Publication Date: 13 Mar 2008 Inventors: Donald Picard, Robert DeBenedictis, Jose Capo, Ray Jimenez Assignee: Common Voices
- Patent US 2008/0062970 A1 in Google Patents Application Number: 11/853,642 Filing Date: 11 Sep 2007 Publication Number: US 2008/0062970 A1 Publication Date: 13 Mar 2008 Inventors: Donald Picard, Robert DeBenedictis, Jose Capo, Ray Jimenez Assignee: Common Voices
- Patent US 2008/0062970 A1 in Free Patents Online
- Patent US 2008/0235189 A1 in Free Patents Online Application Number: 11/855,851 Filing Date: 14 Sep 2007 Publication Number: US 2008/0235189 A1 Publication Date: 25 Sep 2008 Iventors: Drew Rayman, Brad Alperin, Timothy Driscoll, Stuart Goldstein, David Levin, Benjamin Simon