Using EMQX Message Queue to Solve Key IoT Messaging Challenges

Using EMQX Message Queue to Solve Key IoT Messaging Challenges

You have successfully built an excellent IoT system: device data transmission is stable and smooth, and the real-time dashboard is functioning well. However, once asynchronous operations are involved, problems arise: critical firmware updates sent to offline smart locks fail; data processing nodes experience load imbalance, with some nodes idle while others are overwhelmed. The real-time … Read more

Implementing a Message Queue in C++

Implementing a Message Queue in C++

Have you ever experienced two processes frantically competing to read and write data, resulting in either fragmented data or the program getting stuck in “synchronization wait”?It’s like a cafeteria where no one is in line, everyone is pushing at the window, and in the end, the food spills, and no one gets to eat well. … Read more

Decoupling Embedded Software Modules: Three Key Methods from Chaos to Clarity

Decoupling Embedded Software Modules: Three Key Methods from Chaos to Clarity

Changing a sensor requires modifying 100 lines of code? This article teaches you three methods to completely solve the module coupling problem. 1. Have You Encountered These Problems? As an embedded engineer, the most painful experiences include: 🔥 Hardware Change Nightmare: The project needs to replace the DHT11 temperature and humidity sensor with the SHT30, … Read more

RobustMQ: Redefining the Next Generation Message Queue with Rust

RobustMQ: Redefining the Next Generation Message Queue with Rust

In this data-driven era, message queues have become the “nervous system” of modern application architecture. From microservices communication to real-time data stream processing, from IoT devices to AI systems, message queues are ubiquitous. However, with the exponential growth of business complexity, traditional message queues are facing unprecedented challenges. It is time to rethink this field … Read more

Introducing a Powerful C++ NATS Client Library: CNATS

Introducing a Powerful C++ NATS Client Library: CNATS

In the development of microservices architecture and distributed systems, message queues are an indispensable component. As a lightweight and high-performance message middleware, NATS has been widely used in many projects. For C++ developers, using a NATS client library is a key aspect of connecting systems. Today, I would like to recommend a very powerful C++ … Read more

Detailed Explanation of Message Queues in FreeRTOS

Detailed Explanation of Message Queues in FreeRTOS

Scan to FollowLearn Embedded Together, learn and grow together This is a series of introductory articles on FreeRTOS. While organizing my knowledge, I hope to help beginners quickly get started and master the basic principles and usage of FreeRTOS. Quick Start with FreeRTOS – Initial Exploration of the System FreeRTOS Official Chinese Website is Now … Read more

Comparison of MQTT and AMQP: IoT Communication Protocols

Comparison of MQTT and AMQP: IoT Communication Protocols

Author: EMQX Team Original: https://www.emqx.com/zh/blog/mqtt-vs-amqp-for-iot-communications Table of Contents The Importance of Message Queue Protocols in IoT and Distributed Systems What is MQTT? What is AMQP? Detailed Comparison of MQTT and AMQP Factors to Consider When Choosing MQTT and AMQP Implementing Large-Scale MQTT Scenarios with EMQX With the rapid development of the Internet of Things (IoT), … Read more