Skip to main content

4 posts tagged with "Serverless"

View All Tags

BifroMQ 3.0.0 Beta: Enhanced Messaging with MQTT 5.0

· 2 min read

We're excited to unveil the beta release of BifroMQ 3.0.0, a milestone that signifies major progress in the BifroMQ project. This latest version introduces an array of new features aimed at enhancing the messaging experience, with full adoption of the MQTT 5.0 standard. It's important to note that BifroMQ 3.0.0 introduces groundbreaking changes, making it incompatible with data from previous versions. The plugin interface has also been upgraded to support MQTT 5.0 functionalities, which means it cannot support direct rolling upgrades from older versions.

Key Features of BifroMQ 3.0.0:

  • Full Support for MQTT 5.0: Explore the new capabilities of MQTT 5, including SharedSubscription, TopicAlias, SubscriptionIdentifier, FlowControl, EnhancedAuthentication, SessionExpiry, WillDelay, and more, designed to meet all your messaging needs.

  • Enhanced Observability of Tenant Loads: The latest version offers improved observability into tenant loads via Tenant Metrics, providing timely and accurate insights into each tenant's resource usage.

  • Tenant-Level Real-Time Resource Limitation: A new plugin type, the Resource Throttler, has been introduced to facilitate tenant-level resource limitation. This feature simplifies the implementation of resource and load isolation in multi-tenant systems.

  • Improved API Usability: Significant enhancements have been made to API usability, making it easier for users to interact with BifroMQ.

  • Backpressure Protection: This feature aims to ensure system stability and reliability by protecting against overload.

In addition to functional upgrades, the official documentation has been comprehensively updated for clarity and depth.

We encourage you to download, test, and provide feedback on this beta version of BifroMQ 3.0.0. Your insights are invaluable as we continue to improve and expand BifroMQ, aiming to offer the most robust and feature-rich messaging solution available.

BifroMQ's Topic Subscription Mechanism

· 12 min read

Introduction

Since BifroMQ became open source, we have frequently received inquiries about its implementation details for Topic subscription matching. In the MQTT Pub/Sub mechanism, Topic subscription matching is undoubtedly one of the core functionalities. In BifroMQ, the management of subscription information and the processing of message Topic matching are handled by a dedicated service module called Dist Service (bifromq-dist). Given that BifroMQ is designed to support the construction of large-scale, multi-tenant Serverless systems, this critical component faces many complex challenges, particularly in the distributed processing of subscription information (TopicFilter) and the associated Topic matching algorithms. This article will delve into the design decision behind the BifroMQ Topic subscription matching scheme and its implementation in Dist Service.

BifroMQ Technical Architecture Overview

· 7 min read

In today's IoT field, the MQTT protocol has become an indispensable key element, providing core technical support for efficient and real-time data transmission. However, projects that currently offer MQTT capabilities are mainly concentrated on traditional, existing "out-of-the-box" IoT device management platforms, leading to a lack of sufficient attention and exploration of the underlying MQTT protocol implementation. However, we firmly believe that the characteristics of the MQTT protocol have a broader application prospect, not limited to the IoT field. It is out of this belief that after years of practice and technical accumulation, we have launched the open-source project BifroMQ, focusing on the efficient processing of the MQTT protocol, especially in the face of large-scale loads.