What is XMPP ❓ — Extensible Messaging & Presence Protocol

What is XMPP — Extensible Messaging & Presence Protocol?

The Usage

The Attributes

  • It’s decentralized.
  • It supports the asynchronous exchange of data/information.
  • Transmits tiny pieces of the data instead of forwarding the big chunks directly.
  • It works over TCP.
  • Network configuration and components (hardware/software) has no role to play in the XMPP-based data transmission.
  • It is designed for client-server model.
  • It uses 3 statuses, namely ‘offline’, ‘busy’, or ‘online’, to tell about the status of a user or network.
  • It transfers data back and forth between two end-points.

XMPP Architecture

  • The presence stanza defines the network or user’s present status to others. For example, the user/network is online or offline.
  • Message stanza is a pushing instrument essential for chat messages exchange.
  • IQ stanza is the element that XMPP utilizes for data requests and modification. Just as HTTP has GET and POST, XMPP has IQ stanza.

How does XMPP protocol work?

XMPP Features

  • Asynchronous Push Messaging
  • Client-Server Architecture
  • Persistent TCP Connections
  • Decentralized Hosting
  • Gateways

XMPP Protocol Example

  • WhatApp is built using a proprietary XMPP.
  • The amazing chat capability of Zoom is all because of XMPP.
  • For instant push notification delivery, Apple uses XMPP both in the iPhone and Mac.
  • XMPP is used in the chat functionality of Grindr.

Benefits of XMPP

  • A Reliable Protocol to Back upon
  • Improves Communication Infrastructure for you
  • Guarantee of Delivery
  • Support by most of the Standard Programming Languages
  • Decentralized
  • Higher Security
  • Uninterrupted Transmission of Data
  • Server-to-Server Transfers
  • Compatibility

The Crux




CEO at Wallarm. Application security platform to prevent threats and discover vulnerabilities in a real-time.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Ace Your Software Engineering Interview — Part 1 (Algorithms and Data Structures)

How I resolved the PHP error with comparing numbers using number_format()

Trusted Web Activity and Using Firebase in TWA and White Label Apps

How to achieve observability? [You need a plan]

Introducing Capacitor-Tor: A Capacitor plugin for integrating Tor into Ionic Apps

Pick dates using the new material date picker Android

Microsoft Edge Beta goes live with a new Microsoft Edge Insider Bounty program | Front End News #15

The Documented Manifesto of Documentation: How to maintain documentation in an Agile team

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ivan Novikov

Ivan Novikov

CEO at Wallarm. Application security platform to prevent threats and discover vulnerabilities in a real-time.

More from Medium

99 Percenters — Mobile App Prototype Quiz Journey #AD&PRLab

Cook Integration with Unstoppable Domains

Announcing Open Source Tool to Detect Log4J Vulnerability

Klever Node Monitoring