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 (Jabber being a former name for XMPP) and is written in lowercase only, as is common for daemon software.

ejabberd Community Server
Original author(s)Alexey Shchepin
Developer(s)ProcessOne
Initial releaseFebruary 11, 2003 (2003-02-11)
Stable release
20.07 / 30 July 2020 (2020-07-30)[1]
Repository
Written inErlang
Operating systemCross-platform
Available inMultiple languages[2]
TypeXMPP server, MQTT broker
LicenseGNU General Public License
Websitewww.process-one.net/en/ejabberd/

ejabberd is free software, distributed under the terms of the GNU General Public License. As of 2009, it is one of the most popular open source applications written in Erlang.[3] 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.[4] The software's creator, Alexey Shchepin was awarded the Erlang User of the Year award at the 2006 Erlang user conference.[5]

ejabberd has a number of notable deployments, IETF Groupchat Service,[6][7] BBC Radio LiveText,[8] Nokia's Ovi,[9] KDE Talk[10] and one in development at Facebook.[11][12] As of 2009 ejabberd is the most popular server among smaller XMPP-powered sites that register on xmpp.org.[13]

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."[14]

Project history

Alexey Shchepin started ejabberd in November 2002[15] 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.[16] Ejabberd hit version 1.0 in December 2005.[17]

Features

ejabberd has a high level of compliance with XMPP.[18] It provides a web interface which can be translated into other languages. ejabberd supports distributed computing by clustering, supports live upgrades,[19] 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,[20] 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.[21]

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, Mac OS X, and Windows,[22] 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.[23][24]

Other methods in which ejabberd is available are the TurnKey Linux Virtual Appliance Library[25] and Comprehensive Erlang Archive Network (CEAN).[26] 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,[27] that handles between 10,000 and 20,000 concurrent users at any time.[28] Among smaller XMPP-related sites, ejabberd is also the most popular server.[13] 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%.[29]

Among generic instant messaging deployments are ISPs like the Portuguese SAPO,[30] and the German United Internet for services like GMX and Web.de.[31][32][33] The Russian search engine Yandex uses a highly modified version of ejabberd, named Yabberd.[34] Nokia's Ovi uses ejabberd with some customizations.[9] Major League Baseball offers instant messaging and chatrooms using a customized ejabberd.[35][36] Mxit was a large server for mobile instant messaging client that started using ejabberd in 2005, but was replaced with a custom IM engine.[37] Universities known to use ejabberd include: Saint Petersburg State University,[38] Taganrog State University[39][40] and the Division of Information Technology of the University of Wisconsin–Madison.[41]

In the FOSS world, there is a pair of notable generic deployments of ejabberd, namely the KDE Talk[10] and the Fellowship of the Free Software Foundation Europe.[42][43]

ejabberd chatroom feature provides the IETF Groupchat Service, used by the various working groups, areas, and BOF sessions during meetings and at other times.[6][7]

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.[8] sameplace.cc is a Mozilla Firefox extension that integrates Jabber/XMPP in the web browser, and uses ejabberd for the XMPP server.[44][45] Other deployments include Chesspark (online chess playing site),[46] Collecta (real-time search),[47] and Notifixious (notifications of website subscriptions).[48]

One Laptop per Child's School server uses ejabberd with OLPC-specific patches as the instant messaging server.[49]

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,[11] 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".[12] On Feb 10th 2010, the Facebook blog announced the opening of the XMPP interface to Facebook chat,[50] based on ejabberd.

Another social media and blogging service that uses ejabberd is LiveJournal Talk.[51][52] The Spanish-focused Tuenti social network uses a modified ejabberd to provide a live chat service.[53]

The worldwide jabber.org XMPP server, with a userbase of 330,000 users[54] and 15,000 users online at any one time in December 2009,[55] have used ejabberd since February 2006[56][57] until January 2010.[58] (In 2010 Jabber.org migrated to M-Link XMPP server from Isode Limited.[59])

Nintendo Switch uses ejabberd in its "Nintendo Switch Push Notification infrastructure" (NPNS) handling 10 million simultaneous connections.[60]

Publications and reception

Two articles are published about ejabberd in magazines: "Démarrer avec ejabberd" in the French magazine PROgrammez![61] and "Passing notes in class", a post in Free Software Magazine.[62]

Computerworld Australia interviewed Erlang creator Joe Armstrong in June 2009,[63] 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,[64] 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.[65] A 2006 internal review paper in the IT department of Cambridge University found it the best choice amongst Jabber servers.[66] In the same year Alexey Shchepin was awarded the "User of the Year" award at the 12th International Erlang/OTP User Conference.[5]

Other published books that mention ejabberd are:

  • "Programming Erlang: Software for a Concurrent World" (Pragmatic Bookshelf, 2008)[67]
  • "Erlang Programming: A Concurrent Approach to Software Development" (O'Reilly Media, 2009)[68]
  • "Openfire Administration: A practical step-by-step guide to rolling out a secure Instant Messaging service over your network" (Packt Publishing, 2008)[69]
  • "Fedora 11 and Red Hat Enterprise Linux Bible" (Wiley, 2009)[70]

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[71]
  • Kestrel: an XMPP-based framework for many task computing applications[72]
  • IM'ing overload: Libraryh3lp to the rescue[73]
  • Towards an Enhanced Adaptability and Usability of Web-Based Collaborative Systems[74]
  • Leveraging Visual Tailoring and Synchronous Awareness in Web-Based Collaborative Systems[75]
  • Adding New Communication Services to the FIPA Message Transport System[76]

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[77][78]
  • US 2008/0062969 A1: Instant Message Call Connect System Apparatus and Database[79]
  • US 2008/0062970 A1: Instant Message Call Connect System Method and Interface[80][81]
  • US 2008/0235189 A1: System for Searching for Information Based on Personal Interactions and Presences and Methods Thereof[82]
gollark: Maybe two years?
gollark: But mine actually does a lot of complex OS-ey things for sandboxing - basically, to stop people from meddling with its code, uninstalling it, sort of thing, but keep existing programs working, I have to try and confine stuff to a limited amount of functionality.
gollark: ComputerCraft computers are pretty feature-complete with just the built-in software, so most "OS"es are just fancy GUIs.
gollark: * logs incidents to
gollark: Right now I'm actually working on a web UI for the system it logs "incidents", i.e. people uninstalling it, disk signature validation errors, banned programs being run, sort of thing.

See also

References

  1. "Releases - processone/ejabberd". Retrieved 7 August 2020 via GitHub.
  2. "Localization | ejabberd".
  3. Francesco Cesarini, Simon Thompson, Erlang Programming, O'Reilly Media, 2009, ISBN 0-596-51818-8, p. 2
  4. 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
  5. "Erlang User Conference 2006". Erlang.se. 2006-11-09. Retrieved 2012-02-10.
  6. "IETF Groupchat/Chatroom Service". Archived from the original on 2012-05-10. Retrieved 2012-02-13.
  7. "online verification of jabber.ietf.org service". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
  8. LiveText-via-IP upgrade and other synchronously delivered content
  9. "online verification of ovi.com XMPP server software". Archived from the original on 2011-07-13. Retrieved 2009-12-20.
  10. KDETalk.net, the KDE XMPP server
  11. "Functional Programming at Facebook" (PDF). Cufp.galois.com. 4 September 2009. Archived from the original (PDF) on 24 December 2012. Retrieved 2012-11-12.
  12. "Facebook Pokes XMPP. MSN, Yahoo & AIM Better Watch Out — Tech News and Analysis". Gigaom.com. 2009-11-05. Retrieved 2012-02-10.
  13. Public XMPP Services
  14. ejabberd Community Server 13.03 ejabberd mailing list, posted by Mickaël Rémond. 2013-03-22. Retrieved 2013-06-02.
  15. Initial revision
  16. aleksey speaks (interview to Alexey Shchepin)
  17. For full release history, see https://ejabberd.im/releases
  18. "Release Note ejabberd 1.0.0". ProcessOne. 14 December 2005. Retrieved 2008-03-11.
  19. Rémond, Mickaël (July 16, 2007). "Live code upgrade: A must-have feature for high-availability deployments". ProcessOne. Retrieved 2008-03-11.
  20. XMPP.ORG, "XEP-0045: Multi-User Chat"
  21. "XEP-0065: SOCKS5 Bytestreams". XMPP Standards Foundation. 2007-05-21. Retrieved 2008-03-11.
  22. ejabberd Download Archive
  23. ejabberd downloads counter with links to OS distributions
  24. "Arch Linux package details". Archived from the original on 2010-09-25. Retrieved 2010-10-09.
  25. TurnKey Linux Appliance for XMPP and Web Chat Archived 2009-11-24 at the Wayback Machine
  26. "CEAN package for ejabberd". Archived from the original on 2011-07-24. Retrieved 2009-12-18.
  27. "online verification of jabber.ru XMPP server software". Archived from the original on 2011-07-13. Retrieved 2009-12-18.
  28. "online statistics of jabber.ru XMPP server". Archived from the original on 2009-12-17. Retrieved 2009-12-18.
  29. Usage estimation of public XMPP servers per domain
  30. "Novo servidor online". pedrocs from SAPO. 2007-02-16. Retrieved 2009-12-17.
  31. GMX bringt eigenen Instant Messenger heraus
  32. GMX plant Instant-Messenger für viele Protokolle
  33. "online verification of gmx.de XMPP services". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
  34. "online verification of yandex.ru running yabberd". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
  35. Hitting a home run with IM
  36. Major League of Baseball teams up with ProcessOne to deploy large scale chat system
  37. Inclusion of Mxit plugin into Pidgin
  38. "online verification of spbu.ru XMPP server software". Archived from the original on 2011-07-13. Retrieved 2009-12-24.
  39. XMPP TSURE Server Archived 2010-10-07 at the Wayback Machine
  40. "online verification of jabber.tsure.ru XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-24.
  41. "online verification of doit.wisc.edu XMPP server version". Archived from the original on 2011-07-13. Retrieved 2009-12-24.
  42. FSFE Jabber wiki Archived 2012-02-22 at the Wayback Machine
  43. "online verification of jabber.fsfe.org XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-17.
  44. Back in game Archived 2008-06-18 at the Wayback Machine
  45. "online verification of sameplace.cc XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-20.
  46. Choosing An XMPP Server
  47. "online verification of XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-22.
  48. Switch from Openfire to Ejabberd: done! Archived 2009-04-23 at the Wayback Machine
  49. Run a jabber server
  50. "Facebook Chat Now Available Everywhere | Facebook". Blog.facebook.com. Retrieved 2012-02-10.
  51. New LJTalk server Archived 2009-08-03 at the Wayback Machine
  52. "online verification of livejournal.com XMPP server". Archived from the original on 2011-07-13. Retrieved 2009-12-23.
  53. Chat in the making; written by Carlos Abalde, Backend Engineer in Tuenti
  54. Server Migration Coming Soon Archived 2009-12-20 at the Wayback Machine
  55. At the jabber.org service we typically have ~15,000 users online at any one time
  56. e-jabbering Archived 2011-07-21 at the Wayback Machine
  57. Saint-Andre, Peter (February 26, 2006). "jabber.org upgrade". Juser mailing list. Jabber.org. Retrieved 2009-12-16.
  58. To Our Users Archived 2010-06-10 at the Wayback Machine
  59. Update from jabber.org
  60. ProcessOne (2019-06-05). "ejabberd & Nintendo Switch NPNS". ProcessOne Blog. Retrieved 2020-03-09.
  61. "Démarrer avec ejabberd" at magazine PROgrammez!
  62. "Passing notes in class" at Free Software Magazine Archived 2009-09-23 at the Wayback Machine
  63. The A-Z of Programming Languages: Erlang
  64. Interview: The importance of being Erlang
  65. Peter Saint-André, Kevin Smith, and Remko Tronçon's XMPP: The Definitive Guide
  66. Tony Finch, University of Cambridge Computing Service, , p. 4
  67. Joe Armstrong (Pragmatic Bookshelf, 2007, ISBN 978-1-934356-00-5)
  68. 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
  69. Mayank Sharma's Openfire Administration: A practical step-by-step guide to rolling out a secure Instant Messaging service over your network
  70. Christopher Negus's Fedora 11 and Red Hat Enterprise Linux Bible
  71. 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.
  72. 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.
  73. 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.
  74. 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.
  75. Bourimi, Mohamed; Stephan Lukosch; Falk Kühnel (2007). "Leveraging Visual Tailoring and Synchronous Awareness in Web-Based Collaborative Systems". Groupware: Design, Implementation, and Use. 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.
  76. 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.
  77. 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
  78. Patent US 2007/0271367 A1 in Free Patents Online
  79. 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
  80. 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
  81. Patent US 2008/0062970 A1 in Free Patents Online
  82. 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
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.