Abstract

The growth of the Internet of Things (IoTs) and the number of connected devices is driven by emerging applications and business models. One common aim is to provide systems able to synchronize these devices, handle the big amount of daily generated data and meet business demands. This paper proposes a cost-effective cloud-based architecture using an event-driven backbone to process many applications’ data in real-time, called REDA. It supports the Amazon Web Service (AWS) IoT core, and it opens the door as a free software-based implementation. Measured data from several wireless sensor nodes are transmitted to the cloud running application through the lightweight publisher/subscriber messaging transport protocol, MQTT. The real-time stream processing platform, Apache Kafka, is used as a message broker to receive data from the producer and forward it to the correspondent consumer. Micro-services design patterns, as an event consumer, are implemented with Java spring and managed with Apache Maven to avoid the monolithic applications’ problem. The Apache Kafka cluster co-located with Zookeeper is deployed over three availability zones and optimized for high throughput and low latency. To guarantee no message loss and to simulate the system performances, different load tests are carried out. The proposed architecture is reliable in stress cases and can handle records goes to 8000 messages in a second with low latency in a cheap hosted and configured architecture.

Highlights

  • The growing popularity of internet and communication technology leads toward a society, where everything is connected

  • After sending records to the cloud, Kafka streams are the first step on the processing chain, which serves to implement a complex processor topology

  • Apache Kafka cluster co-located with Zookeeper is deployed over three availability zones and optimized for high throughput and low latency

Read more

Summary

Introduction

The growing popularity of internet and communication technology leads toward a society, where everything is connected. Thereby, a Real-time processing Event-Driven cloud-based Architecture (REDA) is designed based on message-driven reactive systems with a high value of resilience and scalability The implementation of this concept involves several key steps including the choice of the processing mechanism, the way of development and deployment of micro-services and the appropriate monitoring tools. – The proposed architecture (REDA) is designed mainly from the Amazon Web Service IoT core architecture It opens the door as a free software-based implementation hosted independently of any cloud provider or in a local cluster. It aims to process, store and visualize devices or generated data in real time.

High‐level IoT cloud solutions
REDA: Proposed back‐end cloud‐based architecture for real‐time processing
Limitations
Event‐driven architecture
Event producer‐based MQTT message broker
Event channel‐based Apache Kafka
Event consumer‐based micro‐services
Implementation of cloud‐connected wireless network
Sensing unit
Event‐stream processing unit
MQTT message broker setup
Zookeeper Quorum architecture
Kafka cluster setup
Creation of topic with more partitions
Batching record by producer
Improving Kafka consumer by adding more partitions
Limitations and future works
Findings
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call