implementing an edge-fog-cloud architecture for stream ......implementing an edge-fog-cloud...

16
Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz University of New Brunswick

Upload: others

Post on 05-Aug-2020

6 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Implementing an Edge-Fog-Cloud Architecture for Stream Data Management

Lilian Hernandez, Hung Cao, And Monica WachowiczUniversity of New Brunswick

Page 2: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

• Overview

• Data Life Cycle Tasks and Processes

• System Architecture

• System Implementation

• Preliminary Results

• Future Work

Outline

2

Page 3: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Data life cycle tasks integrate pre-processing ranging from sorting, cleaning, andmonitoring to support more complex processes such as querying, aggregation, andanalytics.

• How to handle the complexity of the data life cycle for increasing data rates.

• How to automate workflow tasks performed on IoMT data streams.

3Overview

3

Page 4: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Data sorting

Data Life Cycle Tasks

Data cleaning

Data monitoring

4

Page 5: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Data life cycle tasks

EFF (Cisco)

Segment (Segment)

IBM Watson (IBM)

Axon Predict (Greenwave Systems and Intel)

LocalNotification

Yes Yes Yes Yes

Processing Yes No Yes Yes

Acquisition DSL Java API Java API Yes

Storage Yes Yes Yes Yes

Leverage Yes Yes Yes Yes

Data Control Yes Yes Yes Yes

Commercial Stream Data Management Platform

5

Page 6: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Low level computing process

High level computing process

System Architecture: 3 Tier

6

Page 7: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

The data streams consist of a sequence of out-of-order tuples:T1=(S1, x1, y1, t1)

where:

S1: is a set of attributes containing information about each IoMT device.x1, y1, t1 : is the geographical location of a device at the timestamp t.

Data Streams at the Edge

7

Page 8: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Proposed Streaming Model

Phases Objectives

Data flow DSL links

Execution Task sequence and data dependency

Control flow Explicit/Implicit

Data Streams at the Fog

Low Level Computing Processes

Pre-processing tasks Objectives

Data sorting Order the data

Data cleaning- Delete redundant tuples- Delete tuples with missing attributes- Delete tuples with misspelt attributes

Data monitoring Task completion and data dependency

8

Page 9: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

As a result of decentralizing computing processes to the edge and fog, the cloud may focus its functionalities to perform complex processes:

Data Streams at the Cloud

Data Contextualization

Data Summarization

Data Aggregation

9

Cluster

Page 10: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Transit Network Experiment

10

Page 11: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Attributes Description

1. vlr_id The ID of the data point in the vehicle location reports table.

2. route_id_vlr The route ID in the vehicle location reports table.

3. route_name The route name.

4. route_id_rta The route ID in the route transit authority table.

5. route_nickname The abbreviation of the route.

6. trip_id_br The trip ID in the bid route table.

7. transit_authority_service_time_id Transit authority service time ID.

8. trip_id_tta Transit authority trip ID.

9. trip_start Start time of the trip.

10. trip_finish Finish time of the trip.

11. vehicle_id_vab Vehicle ID.

12. vehicle_id_vlr Vehicle ID in the vehicle locations reports table.

13. vehicle_id_vlr_ta Descriptive name of the bus.

14. bdescription Bus description.

15. lat Latitude.

16. lng Longitude.

17. timestamp Timestamp of the data point.

At the Edge

11

65 million tuples from June 1st 2016 to May 25th 2017

Page 12: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

At the Fog

Ingesting

12

38.5 million tuples out of 65 million were deleted

Data Acquisition

Data Transportation

Data

Processing

Data

Processing

Data

Processing

Data

Processing

Data

Storage

SortingCleaning

Monitoring

Page 13: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

0

10

20

30

40

50

60

70

50 51 52 60 61 61B 62 63 64 64B 65 66 67 68 70 71 80 81 93 94 95

Nu

mb

er

of

trip

s p

er

rou

te

Routes

Number of Scheduled tripsNumber of performed trips whose tuples reached the cloud

21%

79%

Trips whose tuples reached the cloud

Trips that does not reached the cloud

At the Cloud: One Day PerformanceOnly 26.5 millions tuples out of 65 millions were transported to the cloud

13

Page 14: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

0

50

100

150

200

250

300

350

400

450

50 51 52 60 61 61B 62 63 64 64B 65 66 67 68 70 71 80 81 93 94 95

Nu

mb

er

of

trip

s p

er

rou

te

Routes

Number of Scheduled tripsNumber of performed trips whose tuples reached the cloud

80%

20%

Trips whose tuples reached the cloud

Trips that does not reached the cloud

At the Cloud: One Week Performance

14

Page 15: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Conclusions and Future Work

• To make data available at real-time over an end to end architecture.

• To perform the implementation at the edge level.

• To explore a temporary storage at the edge.

• To collect and monitor other parameters, i.e. weather conditions, and

passenger ridership.

• To create a process mining model through the use of Petri nets.

• To migrate our development from EFF Cisco to Kinetic Cisco platform.

15

Page 16: Implementing an Edge-Fog-Cloud Architecture for Stream ......Implementing an Edge-Fog-Cloud Architecture for Stream Data Management Lilian Hernandez, Hung Cao, And Monica Wachowicz

Thanks for your attention!

Lilian [email protected]

University of New BrunswickPeople in Motion Lab