Back to services

ejabberd

XMPP instant messaging server.

View alternatives to ejabberd
Suggest edit
Open source
Self-hostable
GPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The official website could not be retrieved this time. The following description is compiled from existing knowledge of the project, so please refer to the official documentation for specific details.

Introduction

ejabberd is a long-established open-source real-time messaging server developed and maintained by ProcessOne and built on Erlang/OTP. It is centered on the XMPP (Jabber) protocol and also includes a built-in MQTT broker and SIP support. It is known for its stability, high concurrency and horizontal scalability, and it is used both by large instant messaging platforms and by individuals running their own servers.

Key Features

  • Full XMPP service: Supports one-to-one chat, contact lists and presence, and implements a large number of XEP extensions.
  • Group chat (MUC): Supports multi-user chat rooms.
  • Message archive (MAM): Stores messages on the server to make syncing across multiple devices easier.
  • HTTP file upload: Share files and images in chats.
  • Publish/subscribe (PubSub) and PEP: Can be used for push notifications and real-time data distribution.
  • MQTT broker: Can serve as the messaging hub for IoT devices.
  • STUN/TURN and SIP: Assist with audio and video calls.
  • Administration tools: Provides a web admin interface, the ejabberdctl command-line tool and an API.

Target Users and Use Cases

  • Individuals, communities and organizations who want to run their own private chat server
  • Development teams who need to add instant messaging to their own applications
  • Enterprises that need highly concurrent, highly available messaging infrastructure
  • IoT projects that need an MQTT message broker

Core Strengths

  • High concurrency and scalability: Thanks to the Erlang/OTP concurrency model, a single node can handle a large number of connections, and multiple nodes can be combined into a cluster.
  • Based on open standards: It uses the XMPP protocol, so it can interoperate with many ready-made clients (such as Conversations, Gajim and Dino) as well as other XMPP servers (federation).
  • Choice of storage backends: Supports the built-in Mnesia database as well as relational databases such as MySQL, PostgreSQL and SQLite.
  • Modular: Features are enabled or disabled through modules, and the configuration file uses the YAML format.
  • Open source with commercial support: The community edition is released under the GPLv2 license, and ProcessOne also offers a commercial edition and technical support.

Installation and Deployment

  • Official Linux packages (such as deb and rpm) and binary installers are available.
  • Official Docker images are available, making containerized deployment easy.
  • It can be installed directly from the software repositories of many Linux distributions.
  • It can also be compiled from source, which requires an Erlang/OTP environment.

After installation, edit ejabberd.yml to configure the domain name, certificates, listening ports and enabled modules, then start the service with ejabberdctl and register users.

Technical Requirements

  • Operating system: Runs mainly on Linux; other Unix-like systems also work
  • Runtime: Erlang/OTP (already bundled when using the official installation packages)
  • Optional: an external database, a reverse proxy and TLS certificates

Notable Characteristics

ejabberd offers comprehensive support for XMPP standards, making it a good foundation for a modern XMPP service, and when combined with mobile clients it can deliver an experience close to that of mainstream chat apps. Compared with lightweight XMPP servers such as Prosody, ejabberd is better suited to large-scale and clustered scenarios, but its configuration and operation are also somewhat more complex.