Lightstreamer MQTT Connector

Bridge MQTT with web technologies for reliable, real-time data streaming. Overcome MQTT’s limitations with advanced features like adaptive throttling and bandwidth management—perfect for IoT, smart homes, and live dashboards.

Try for free
Read the docs
Image Description
Image
Image
Image
Image
TRUSTED BY INDUSTRY LEADERS

What is the Lightstreamer MQTT Connector?

The Lightstreamer MQTT Connector is an intelligent proxy that seamlessly integrates MQTT with browser-based applications, enabling easy subscribing and publishing to MQTT topics. While MQTT is ideal for IoT, it struggles with web protocols, proxies, and firewalls. The Lightstreamer MQTT Connector overcomes these challenges by adding crucial network optimization features, such as adaptive throttling, bandwidth management, data resampling, conflation, and Intelligent Streaming, making it the perfect solution for real-time data delivery on the web.

Seamless MQTT integration with web technologies

Powered by Lightstreamer, the world’s leading last-mile data delivery platform, the Lightstreamer MQTT Connector remaps the MQTT protocol over Lightstreamer’s WebSocket and HTTP-based protocol. This allows the efficient transmission of high data volumes through the web. Web clients can use a Paho-like API and work seamlessly across any browser, leveraging Lightstreamer’s robust capabilities for real-time, web-friendly communication.

Unlocking real-time possibilities

Use cases powered by the Lightstreamer MQTT Connector:

  • Real-time dashboards powered by live MQTT data
  • Online telemetry and remote monitoring
  • Instant messaging and chat applications
  • IoT device control and automation
  • Smart home management systems
  • Multiplayer online gaming synchronization
  • Real-time geolocation and tracking services
  • Live sports and event updates
Author
svg
We really appreciated Lightstreamer’s StreamSense technology, which allows us to choose the best transport method for each individual client. For the same reason, we found the firewall and proxy traversal features of Lightstreamer extremely useful. Additionally, Lightstreamer provides many built-in controls that allow us to better manage the push behavior, such as flow control, buffer size control, snapshots, and more.

Ronald Chan

— Senior Manager, OOCL

Extend your MQTT broker with Lightstreamer

Boost your MQTT infrastructure with Lightstreamer, the intelligent proxy that seamlessly connects MQTT with web applications for real-time data streaming.

MQTT CONNECTOR

Effortlessly integrate Lightstreamer with any third-party MQTT broker, whether it’s a managed cloud service or an on-premises deployment.

Mosquitto
HiveMQ
EMQX
VerneMQ
AWS IoT Core
Azure IoT Hub

SECURITY HOOKS

Easily integrate your custom initialization, authentication, and authorization processes by developing and connecting your Hooks using the provided SDK.

Authentication

Seamlessly authenticate users using your existing authentication systems.

Authorization

Precisely control user access to specific MQTT topics based on your authorization rules.

Connect your web frontend to MQTT

Easily integrate real-time capabilities into your applications with Lightstreamer’s flexible client libraries.

CLIENT API

We offer a JavaScript library that works in all browsers, including mobile and older versions, as well as in Node.js. It provides a Paho-like API, allowing any HTML page or Node.js app to act as an MQTT client, seamlessly publishing and subscribing to MQTT topics across any broker for real-time interactions with IoT devices and other web pages.

Platforms
Web browsers
Node.js
Languages
JavaScript

INTELLIGENT DATA THROTTLING

Ensure fresh data delivery with adaptive throttling and conflation, even in poor network conditions. Gain full control over bandwidth and update frequency for an optimized real-time experience.
Imagine an IoT sensor publishing hundreds of measurements per second via MQTT. One user views this data on a desktop with a broadband connection, while another uses a mobile browser with poor signal. The Lightstreamer MQTT Connector automatically adapts to each user’s network conditions by throttling the data flow, resampling, and applying conflation. Both users see real-time, coherent data, but with different update rates.
Bandwidth management
In addition to automatic throttling, clients can define a maximum bandwidth for their downstream channels, such as setting a cap at 10 kbps. Lightstreamer automatically enforces this limit by applying resampling, conflation, or queuing, ensuring that the allocated bandwidth is never exceeded.
Frequency management
Clients can specify a maximum update frequency for each topic subscription, like limiting updates to 2 messages per second. Lightstreamer adheres to this request by automatically managing resampling, conflation, or queuing to maintain the desired frequency.
Reconnection management
Lightstreamer automatically manages client disconnections and reconnections, using advanced backpressure mechanisms to handle massive reconnections efficiently. This ensures that subscribers remain up-to-date, regardless of fluctuating connection quality.
Reverse architecture
Lightstreamer optimizes downstream data flow (from broker to subscribers) and can also enhance upstream flow (from publishers to broker) by placing it closer to publishers. In this “reverse” setup, data from remote devices is efficiently funneled into a central MQTT broker, optimizing bandwidth usage from remote locations.

Advanced features for optimized MQTT integration

The Lightstreamer MQTT Connector includes the powerful features of Lightstreamer, and much more:
Firewall & proxy traversal
Lightstreamer’s StreamSense algorithm automatically selects the optimal transport protocol for each client, ensuring seamless data delivery even through the most restrictive corporate firewalls and legacy proxies. This ensures that your clients can reliably connect to your MQTT broker from anywhere on the Internet.
Massive scalability
The Lightstreamer Broker is designed for massive scalability, utilizing a sophisticated staged event-driven architecture with asynchronous I/O and dynamic thread pools. This enables both vertical and horizontal scaling, allowing MQTT to support millions of concurrent clients effortlessly.
MQTT broker protection
Keep your MQTT broker secure behind a firewall and inaccessible from the internet by routing external MQTT clients through the Lightstreamer MQTT Connector. This adds an extra layer of security, preventing your broker from handling potentially unauthorized connections while maintaining robust communication with external clients.
MQTT broker multiplexing
A single Lightstreamer MQTT Connector instance can connect to multiple MQTT brokers. This allows clients to access different brokers through a single physical connection, thanks to automatic multiplexing, simplifying the architecture and improving efficiency.
Achieve Real-Time Excellence

Lightstreamer: Your ally in business growth

In today’s fast-paced world, real-time data is crucial. Lightstreamer meets this need effortlessly and cost-effectively.

SVG
60% reduction in infrastructure costs

Lightstreamer’s efficient data streaming technology can significantly reduce the need for extensive hardware and network resources, leading to lower operational expenses.

SVG
50% reduction in disconnection incidents

Lightstreamer’s robust handling of network issues, such as reconnections and disconnections, ensures more stable and reliable connections, reducing downtime and enhancing user experience.

SVG
25% increase in user conversions

Real-time data delivery can enhance user engagement and interaction, leading to higher conversion rates as users are more likely to complete desired actions on the platform.

SVG
20% reduction in churn rate

By providing a seamless and reliable real-time experience, Lightstreamer can improve user satisfaction and retention, reducing the rate at which users leave the platform.

Subscribe

Stay in the know

Subscribe to our newsletter