The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Mevlut Demir PhD Student
WITH APACHE STORM Mevlut Demir PhD Student The University of Texas - - PowerPoint PPT Presentation
REAL-TIME ANALYTICS WITH APACHE STORM Mevlut Demir PhD Student The University of Texas at San Antonio Department of Electrical and Computer Engineering IN TODAYS TALK 1- Problem Formulation 2- A Real-Time Framework and Its Components
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
Mevlut Demir PhD Student
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
1- Problem Formulation 2- A Real-Time Framework and Its Components with an existing applications 3- Proposed Framework 4- Conclusion
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
power demands)
REAL-TIME ANALYTICS WITH APACHE STORM
*Google Images
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
It is a model for enabling ubiquitous, on-demand access to a shared pool
storage, applications and services), which can be rapidly provisioned and released with minimal management effort.[9]
information,
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
manner.
increases latency and network traffic.
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
IoT Cloud Architecture [1]
Drivers are deployed in gateway layer.
layer
layer: Apache Storm
Process data and send back to the device.
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
brokers
the device data to the brokers
gateways in a Zookeeper.
REAL-TIME ANALYTICS WITH APACHE STORM
Each has a unique ID
the drivers
Gateway layer [2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
and the cloud app.
communication channels
REAL-TIME ANALYTICS WITH APACHE STORM
Each channel has a unique name
MQ Layer[2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
subscribe broker
easily created.
Queuing Protocol(AMQP) and Message Queue Telemetry Transport (MQTT)
RabbitMQ [3]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
broker
commit log
partitions
topic in parallel
protocol
MQTT
Kafka[4]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
among the processing units, because of its distributed nature
REAL-TIME ANALYTICS WITH APACHE STORM
Discovery[2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Storm data model -> unbounded sequence tuple
Directed acrylic graph Vertices: computation Edges: stream of data tuple
Apache Storm[5]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Twitter[6]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Storm cluster[5]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Topology
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
IoT Cloud [2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
TurtleBot follows a large target in front of it by trying to maintain a constant distance to the target. Compressed depth images of the Kinect camera are sent to the cloud and the processing topology calculates command messages, in the form
velocity vectors, in order to maintain a set distance from the large object in front of TurtleBot.
REAL-TIME ANALYTICS WITH APACHE STORM
Turtlebot [7]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
An instance of medium flavor has 2 VCPUs, 4GB of memory, and 40GB of HDD. 4 spouts and 4 bolts are running in parallel.
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Cloud Drivers[8]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
Latency with RabbitMQ Latency with Kafka
REAL-TIME ANALYTICS WITH APACHE STORM
*[2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
Latency with RabbitMQ Latency with Kafka
REAL-TIME ANALYTICS WITH APACHE STORM
*[2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
Latency observed in TurtleBot application.
*[2]
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
and its component.
engine.
requirement.
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
robots." Proceedings of the International Conference on Internet of things and Cloud Computing. ACM, 2016.
processing of sensor data in the cloud." Journal of Sensors 2015 (2015).
robotics." International Journal of Grid and Distributed Computing, May 7 (2015).
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM
The University of Texas at San Antonio – Department of Electrical and Computer Engineering
REAL-TIME ANALYTICS WITH APACHE STORM