Tips for High-Scale MQTT Messaging with EMQ

Tips for High-Scale MQTT Messaging with EMQ

If the number of devices reaches one million, the database will have to handle two million authentication records, which will significantly affect the database’s performance. Is there a batch way to define ACL authentication? 1. ACL Authentication Rules Under normal business usage, the behavior of clients can be restricted using ACL. For example, Client A … Read more

Comparison of MQTT and SOM/IP Communication Protocols

Comparison of MQTT and SOM/IP Communication Protocols

[Background] During the discussion of a control command, we proposed to use the SOME/IP protocol, but the other party suddenly suggested using the MQTT protocol for transmission. This proposal was something we had not encountered before, which left us a bit confused. Therefore, classmate Jiahui conducted an investigation and comparison of the two protocols and … Read more

Comprehensive Summary of MQTT Protocol

Comprehensive Summary of MQTT Protocol

This post is from a handsome young graduate from Beijing in 2017 – Xiao Xiao Su. 1. Concept MQTT is an IoT communication protocol based on the Publish/Subscribe model. With its simplicity, support for QoS, and small message size, it occupies a significant share of IoT protocols. MQTT (Message Queuing Telemetry Transport) is a “lightweight” … Read more

Understanding the MQTT Protocol for IoT

Understanding the MQTT Protocol for IoT

Recently, the term Internet of Things has become increasingly popular, and I have been closely following the development of this industry. The technologies related to IoT are also maturing, with NB-IoT preparing for commercial use and LoRa already piloted in some areas. The upstream ICs are also launching SoC products aimed at IoT applications. With … Read more

What Is MQTT? Principles and Workflow

What Is MQTT? Principles and Workflow

1. What Is MQTT MQTT (Message Queuing Telemetry Transport) is a lightweight, publish-subscribe based message transport protocol that is suitable for resource-constrained devices and low-bandwidth, high-latency, or unstable network environments. It is widely used in IoT applications, enabling efficient communication between sensors, actuators, and other devices. 2. How MQTT Works To understand how MQTT works, … Read more

Understanding the Working Principle of MQTT Protocol

Understanding the Working Principle of MQTT Protocol

Hello everyone, I recently worked on an IoT project and summarized the MQTT protocol. As we all know, the MQTT protocol is widely used in the IoT field. If you are not familiar with it yet, I believe this article can help you get started. mqtt protocol 1 MQTT Protocol Features Publish and Subscribe QoS … Read more

Common Firewall Filtering Rules in OpenWrt

Common Firewall Filtering Rules in OpenWrt

Firewall filtering rules in OpenWrt include: 1. Input Filtering Rules: Determine which packets can enter the home network through the router’s network interface, and which packets need to be blocked or discarded. 2. Output Filtering Rules: Determine which packets can leave the home network through the router’s network interface, and which packets need to be … Read more