Tagged articles

EMQX

5 articles · Page 1 of 1
Java Tech Workshop
Java Tech Workshop
Jul 13, 2026 · Backend Development

Why Switch from WebSocket to MQTT for Real‑Time Messaging?

The article analyzes the limitations of native WebSocket for large‑scale, low‑bandwidth, and unreliable‑network scenarios and demonstrates how MQTT, especially with EMQX, provides built‑in message routing, QoS levels, offline storage, and effortless clustering, reducing development and operational overhead.

EMQXIoTMQTT
0 likes · 16 min read
Why Switch from WebSocket to MQTT for Real‑Time Messaging?
360 Smart Cloud
360 Smart Cloud
Apr 15, 2021 · Backend Development

EMQX Project Overview and Detailed Code Walkthrough of Connection and Session Layers

This article introduces the open‑source EMQX MQTT broker, explains the MQTT protocol basics, and provides an in‑depth analysis of the broker's connection and session processes—including their state structures, message flows for connect, subscribe, unsubscribe, ping, disconnect, and QoS 0/1/2 publishing—supported by illustrative code snippets and diagrams.

EMQXIoTMQTT
0 likes · 17 min read
EMQX Project Overview and Detailed Code Walkthrough of Connection and Session Layers