Company
Date Published
Author
Ken Tune
Word count
1437
Language
English
Hacker News points
None

Summary

MQTT (Message Queuing Telemetry Transport) is a widely used messaging protocol ideal for communicating with small remote devices with limited power and network bandwidth, commonly used in various industries such as automotive, manufacturing, telecommunications, and oil and gas. Aerospike is a high-performance distributed database well-suited for real-time transactional processing, providing high throughput, low latency, scalability, and low cost. The article describes an example of how to achieve end-to-end data flow between a small device and Aerospike using MQTT, allowing the approach to be scaled to accommodate thousands of devices and storing data over a period of years if necessary. The example simulates IoT sensor data generation and tracks its publication to an MQTT Broker, subscription to receive updates via push notifications, serialization to Aerospike database using the Community Time Series Client, and querying the stored data from Aerospike. The demonstration showcases how Aerospike can be used to store industrial time series data made available by the MQTT ecosystem, streamlining storage and retrieval of millions of data points per second if required.