A Scalable Real-Time IoT Sensor Data Ingestion and Analytics Platform Using MQTT, Apache Kafka, and Google Cloud SQL
The proliferation of sensor-equipped devices in industrial, building, and environmental monitoring has made real-time ingestion and analysis of telemetry a systems-engineering problem: data arrive continuously from many devices, must be validated and summarized with low delay, and must remain queryable as history. This paper presents the design and evaluation methodology of a Real-Time IoT Sensor Data Ingestion and Analytics Platform. Sensors publish temperature, humidity, pressure, and light readings over MQTT to an Eclipse Mosquitto broker; an Apache Kafka layer decouples producers from consumers and absorbs bursts; Python services validate, clean, aggregate, and evaluate configurable alert thresholds; results are persisted in Google Cloud SQL for PostgreSQL; and a Laravel dashboard presents live readings, historical trends, summaries, and alerts. We describe the topic, partitioning, schema, and processing design, define the metrics and experimental protocol used to assess throughput, end-to-end latency, loss, and resource use under up to thousands of simulated devices, and discuss the limitations of a single-broker deployment. In our benchmark evaluation across 100 to 10,000 simulated devices (P = 6 partitions, C = 3 consumers, batch size B = 100), the platform sustained a steady-state ingestion throughput of 998.4 msg/s at 5,000 devices with zero message loss and a p95 end-to-end latency of 194.0 ms, saturating at 1,246.8 msg/s under 10,000 devices due to Cloud SQL write limits.
Authors
- Aryan Ekhe
- Kavita Sharma
- Tanmay Gardi
- Shailendra Pandit
- Ashlesha Salunke
Institutions
- MIT Art, Design and Technology University (IN)
Publication Details
- Journal
- International Journal for Research in Applied Science and Engineering Technology
- Published
- 2026-11-30
- DOI
- https://doi.org/10.22214/ijraset.2026.85826
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00