SlideShare a Scribd company logo
1 of 19
Download to read offline
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
Snap4City scalability, i‐Cities 2018, DISIT lab (C)
https://www.disit.org/
Paolo Nesi, paolo.nesi@unifi.it
https://www.Km4City.orghttps://www.snap4City.org
IOT/IOE Elastically Scalable Architecture for Smart City and Industry 4.0
1
Pierfrancesco Bellini, Daniele Cenni, Paolo Nesi
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org Issues 
• IOT Applications are typically being executed on cloud and IOT edge 
devices; each of them may:
– Be defined as applications (e.g., NodeJS) or simple rules, horn clauses, if‐then‐
else rules, etc. 
– IOT App may be 
• more flexible and capable to respect requirements on protection, privacy, GDPR, user 
access and personalization, etc. 
• executed on Docker, VM, cloud
– End to end Security, robustness, MicroServices, GDPR, etc. 
– Relevant problems regarding scalability: vertical and horizontal
– Resources are: CPU, Memory, Network, Storage, 
• But also for each IOT App and User: IOT Devices, MicroServices, ExternalServices, 
DataAnalytics, MicroApplications, Dashboards, connections/traffic, etc.
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 2
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Smart City Cloud Infrastructure
Km4City Smart City API
Knowledge 
Base
ETL Processes, Data Analytic, R; IOT App; etc. 
Data Processing Tools
Development and Management Tools
ETL Processes
Resource 
Manager
DataGate/
CKAN
Km4City Ontology
Phoenix, Hbase
+ indexing
Big Data Storage Knowledge
IoT/IoE Applications
AMMA
Linked
Open Graph
ServiceMap Data Flow Analysis
DevDash
Elastic Management of Containers
Mobile and Web Apps
Final Users’ Tools
Dashboards
Social Media
IoT/IoE
Open Data
Personal Data
Industry 4.0
GIS + Map Data
IOT / IOE Apps
IOT Directory
Management
Authentication, Authorization, GDPR, Security Assessment
Resources and the ArchitectureSnap4City scalability, i‐Cities 2018, DISIT lab (C) 4
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 5
Data processing 
Development 
Environment
R Studio, Tensor
Flow, ……
Test DISCES
Tools for Developers
ETL Processes
Data Analytics 
Processes
Cloud Elastic Management
NodeRED
Snap4City
Developer
NodeRED
Snap4City
Final User
Cluster Manager, DISCES Scheduler
Process 
Loader
Knowledge Base
NIFI Indexing and 
Search Services
ServiceMap
Sharded Index
Map Reduce
Kettle
Hbase
HDFS
Phoenix
Map Reduce
Kettle
Hbase
HDFS
Phoenix
Map Reduce
Kettle
Hbase
HDFS
Phoenix
NodeRED
Snap4City
Developer
NodeRED
Snap4City
Developer
NodeRED
Snap4City
Final User
NodeRED
Snap4City
Final User
Km4City
Event LoggerBig Data Store
IOT Directory
ServiceMap3D
SigFOX Server
IOT Broker
Proxy Filter Security
OneM2M Server
LoraWAN Gateways
….. Gateways
IOT Application Builder
Dashboardsand Applications
Main.snap4city.org / www.snap4city.org
LOG.disit.org/Flint
Swagger
Resource Manager
DataGate/CKAN
External Services…..
Data Mapper
GDPR Services: User Profiling,  Auditing, MyPersonalData, MyAnnotation, My IOT Keys, …..
Authentication and Authorisation Services and Auditing (KeyCloak, LDAP), Certification, HTTPS
Annotations
IOT Registration
Notificator
Dashboard Builder
Wizard & Widgets
Chat Manager
Tools for Administrators
KnowlegeManagement
ResDash
AMMA
DevDash
External Services
City Operators Srv
Legacy Srv
Social Media
……………
Snap4City MicroServices
Smart City API
Tools for Users
Data Inspector
MicroApplications
IOT Broker
Proxy Filter Security
IOT Edge
NodeRED
Snap4City
Developer
IOT Apps
IOT Edge
NodeRED
Snap4City
Developer
IOT Apps
IOT Edge
NodeRED
Snap4City
Developer
IOT Apps
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Coverage: examples
• Search all services in the area Snap4City scalability, i‐Cities 2018, DISIT lab (C)
Antwerp
Bologna Toscana
Sardegna
Pisa
6
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Km4City  in Tuscany Area
What is enabling and providing smart services
• Smart Parking, in Tuscany
• Smart First Aid in Tuscany
• Smart search for POI and public transport srv.
• Public Transportation in Tuscany
• Routing in Tuscany, simple and multimodal
• Social Media Monitoring and acting
• Traffic events and Resilience in Florence
• Bike Sharing in Pisa and Siena
• Recharge stations for e‐vehicles
• Entertainment Events in Florence
• Traffic Sensors in Tuscany
• IOT/IOE sensors and actuators
• Weather forecast/condition in Tuscany
• Pollution and Pollination in Tuscany
• People Monitoring, in Tuscany via App
• ..People Monitoring Assessment in the City, in 
Florence via Wi‐Fi
All Point of Interests, cultural activities, IOT, …
Over than 1.2 Million of complex events per day!https://servicemap.km4city.org 7
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Level 4 users: dashboard with intelligence App
• Dashboards with IOT Applications for enforcing smart and 
intelligence into them.
DashboardsIOT and City data World IOT Applications
My IOT Devices
Dashboard‐IOT App
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 8
Applications
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 9
City Dashboard + IOT App
Control Room Operator
Would like to:
‐ Monitor traffic flow, 
Environment, Car parking, 
Cycling, First aid, temp., ..
‐ Act and monitor Dynamic 
Plates
‐ Act and monitor red lights
Driver, Policeman
Would like to:
‐ Monitor traffic, 
Parking, env., speed
limit, …
‐ Act and monitor red
lights
IOT Application with City Dash
simpler development
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 10
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 11
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 12
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 13
Snap4City MicroServices
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 14
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Hosts with VM on Cloud HA, DRS, FT
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 15
Event Log
Zeppelin
Phoenix 
HDFS, Hbase
debian
Event Log
Zeppelin
Phoenix 
HDFS, Hbase
debian
Event Log
Zeppelin
Phoenix 
HDFS, Hbase
debian
Event Log
Zeppelin
Phoenix 
HDFS, Hbase
debian
Hosts/VM on Cloud in HA, elastic computing, ..
.
.
.
……
……..
……….
.
containersDistribSrv.
slave slave slave slave
Pool of Containers
NodeRed, Java
Penthao Kettle, Java, Karma
……..
R‐Stat, R‐Parallel
Hadoop/Spark/SparkML
Python, C++, C, java
…………..
Master Master Master
Masters in HA: Marathon/Mesos, Zookeeper, …. 
VmWare VSphere
Cnt. Scheduling
Cloud Elastic 
Management
Cnt. Scheduling
Cloud Elastic 
Management
DISCES 
+ Planner +
Elastic Management
Containers 
Control API
Cloud Management
System &
Resource Monitoring
Cloud Management
System &
Resource Monitoring
Resource Monitoring 
&
Cloud Resource 
Management
Monitoring API
VM Control API
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Elastic Scaling: allocare / deallocare
• Allocazione / deallocazione, Rebalancing vs compacting
– Verticale delle risorse Docker e/o VM: CPU, Mem
• NodeJS multiflusso per ogni Docker, l’utente richiede i flussi e le IOT App, il sistema le 
alloca in modo dinamico e ottimizza il carico
• VM: gestione risorse Mem, CPU; trasparente ed automatica in DRS VmWare
– Orizzontale delle risorse Docker e/o VM e/o [Host]:
• Docker: aggiunta, spostamento (per clonazione) di IOT App
• VM: on/off
• Monitoraggio risorse: 
– VM via VmWare API,      Docker via Marathon and Mesos API
• Algoritmo in Python: azioni via API: VmWare, Marathon
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 16
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 17
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 18
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 19
DISIT Lab, Distributed Data Intelligence and Technologies
Distributed Systems and Internet Technologies
Department of Information Engineering (DINFO)
http://www.disit.dinfo.unifi.it
http://www.disit.org
Note
• Https://www.snap4city.org
• Registratevi se lo volete provare o se volete saperne di piu’
Snap4City scalability, i‐Cities 2018, DISIT lab (C) 20

More Related Content

What's hot

Snap4City a Solution for highly collaborative Smart Cities Environments
Snap4City a Solution for highly collaborative Smart Cities Environments Snap4City a Solution for highly collaborative Smart Cities Environments
Snap4City a Solution for highly collaborative Smart Cities Environments Paolo Nesi
 
ITU-T Study Group 9 Introduction
ITU-T Study Group 9 IntroductionITU-T Study Group 9 Introduction
ITU-T Study Group 9 IntroductionITU
 
symbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, Serbia
symbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, SerbiasymbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, Serbia
symbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, Serbiasymbiote-h2020
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017Eclipse IoT
 
Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...
Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...
Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...symbiote-h2020
 
Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...
Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...
Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...symbiote-h2020
 
IMaR & RFID in Europe
IMaR & RFID in EuropeIMaR & RFID in Europe
IMaR & RFID in EuropeVisionID
 
symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece
symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece
symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece symbiote-h2020
 
ITU-T Study Group 16 Introduction
ITU-T Study Group 16 IntroductionITU-T Study Group 16 Introduction
ITU-T Study Group 16 IntroductionITU
 
IoT Developer Survey 2015
IoT Developer Survey 2015IoT Developer Survey 2015
IoT Developer Survey 2015Eclipse IoT
 
FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...
FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...
FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...FIWARE
 
OASC Session ICT 2015
OASC Session ICT 2015OASC Session ICT 2015
OASC Session ICT 2015FIWARE
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017Ian Skerrett
 
Toward io t application markets
Toward io t application marketsToward io t application markets
Toward io t application marketsDejan Munjin
 
FIWARE Agenda for Smart City Expo - Nov 18th-20th
FIWARE Agenda for Smart City Expo  - Nov 18th-20th FIWARE Agenda for Smart City Expo  - Nov 18th-20th
FIWARE Agenda for Smart City Expo - Nov 18th-20th FIWARE
 
IoT Developer Survey 2018
IoT Developer Survey 2018IoT Developer Survey 2018
IoT Developer Survey 2018Benjamin Cabé
 
OSS in Bigciites
OSS in BigciitesOSS in Bigciites
OSS in BigciitesOW2
 
Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...
Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...
Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...Paolo Nesi
 
Welcome to the 1st FIWARE Summit
Welcome to the 1st FIWARE SummitWelcome to the 1st FIWARE Summit
Welcome to the 1st FIWARE SummitFIWARE
 

What's hot (20)

Snap4City a Solution for highly collaborative Smart Cities Environments
Snap4City a Solution for highly collaborative Smart Cities Environments Snap4City a Solution for highly collaborative Smart Cities Environments
Snap4City a Solution for highly collaborative Smart Cities Environments
 
ITU-T Study Group 9 Introduction
ITU-T Study Group 9 IntroductionITU-T Study Group 9 Introduction
ITU-T Study Group 9 Introduction
 
symbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, Serbia
symbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, SerbiasymbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, Serbia
symbIoTe - IoT Week Belgrade, 02 Jun 2016, Belgrade, Serbia
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017
 
Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...
Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...
Internet of Things Interoperability Challenges - SpliTech, 14 Jul 2016, Split...
 
Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...
Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...
Towards the Cross-Domain Interoperability of IoT Platforms - EuCNC, 30 Jun 20...
 
IMaR & RFID in Europe
IMaR & RFID in EuropeIMaR & RFID in Europe
IMaR & RFID in Europe
 
symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece
symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece
symbIoTe - AIOTI Open Day @ NDC, 08 Feb 2016, Athens, Greece
 
Supporting the digital transformation of the society with APIs (@Polimi)
Supporting the digital transformation of the society with APIs (@Polimi)Supporting the digital transformation of the society with APIs (@Polimi)
Supporting the digital transformation of the society with APIs (@Polimi)
 
ITU-T Study Group 16 Introduction
ITU-T Study Group 16 IntroductionITU-T Study Group 16 Introduction
ITU-T Study Group 16 Introduction
 
IoT Developer Survey 2015
IoT Developer Survey 2015IoT Developer Survey 2015
IoT Developer Survey 2015
 
FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...
FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...
FIWARE Global Summit - FIWARE on a Global Scale - Building a FIWARE Ecosystem...
 
OASC Session ICT 2015
OASC Session ICT 2015OASC Session ICT 2015
OASC Session ICT 2015
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017
 
Toward io t application markets
Toward io t application marketsToward io t application markets
Toward io t application markets
 
FIWARE Agenda for Smart City Expo - Nov 18th-20th
FIWARE Agenda for Smart City Expo  - Nov 18th-20th FIWARE Agenda for Smart City Expo  - Nov 18th-20th
FIWARE Agenda for Smart City Expo - Nov 18th-20th
 
IoT Developer Survey 2018
IoT Developer Survey 2018IoT Developer Survey 2018
IoT Developer Survey 2018
 
OSS in Bigciites
OSS in BigciitesOSS in Bigciites
OSS in Bigciites
 
Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...
Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...
Km4City, Smart City Urban Platform, From Data to Services for the Sentient Ci...
 
Welcome to the 1st FIWARE Summit
Welcome to the 1st FIWARE SummitWelcome to the 1st FIWARE Summit
Welcome to the 1st FIWARE Summit
 

Similar to IOT/IOE Elastically Scalable Architecture for Smart City and Industry 4.0

Complexity of IOT/IOE Architectures for Smart Service Infrastructures Panel:...
Complexity of IOT/IOE Architectures for  Smart Service Infrastructures Panel:...Complexity of IOT/IOE Architectures for  Smart Service Infrastructures Panel:...
Complexity of IOT/IOE Architectures for Smart Service Infrastructures Panel:...Paolo Nesi
 
Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...
Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...
Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...Paolo Nesi
 
Open Urban Platform: Technical View 2018: Km4City
Open Urban Platform: Technical View 2018: Km4CityOpen Urban Platform: Technical View 2018: Km4City
Open Urban Platform: Technical View 2018: Km4CityPaolo Nesi
 
A Smart City Development kit for designing Web and Mobile Apps
A Smart City Development kit for designing  Web and Mobile AppsA Smart City Development kit for designing  Web and Mobile Apps
A Smart City Development kit for designing Web and Mobile AppsPaolo Nesi
 
Open Urban Platform for Smart City: Technical View
Open Urban Platform for Smart City: Technical View Open Urban Platform for Smart City: Technical View
Open Urban Platform for Smart City: Technical View Paolo Nesi
 
"Km4City: Smart City Ontology Building for Effective Erogation of Services"
"Km4City: Smart City Ontology Building for Effective Erogation of Services""Km4City: Smart City Ontology Building for Effective Erogation of Services"
"Km4City: Smart City Ontology Building for Effective Erogation of Services"diannepatricia
 
Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...
Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...
Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...Paolo Nesi
 
Km4City: Smart City Ontology Building for Effective Erogation of Services
Km4City: Smart City Ontology Building for Effective Erogation of ServicesKm4City: Smart City Ontology Building for Effective Erogation of Services
Km4City: Smart City Ontology Building for Effective Erogation of ServicesPaolo Nesi
 
Smart City and Open Data Projects and tools of DISIT Lab
Smart City and Open Data Projects and tools of DISIT LabSmart City and Open Data Projects and tools of DISIT Lab
Smart City and Open Data Projects and tools of DISIT LabPaolo Nesi
 
Webinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetWebinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetsymbiote-h2020
 
Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...
Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...
Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...Paolo Nesi
 
hackathon smart city API, dai dati ai servizi
hackathon smart city API, dai dati ai servizihackathon smart city API, dai dati ai servizi
hackathon smart city API, dai dati ai serviziPaolo Nesi
 
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...Paolo Nesi
 
The Future is Internet of Things (IOT)
The Future is Internet of Things (IOT)The Future is Internet of Things (IOT)
The Future is Internet of Things (IOT)Adnyesh Dalpati
 
Km4City: una soluzione aperta per erogare servizi Smart City
Km4City: una soluzione aperta per erogare servizi Smart CityKm4City: una soluzione aperta per erogare servizi Smart City
Km4City: una soluzione aperta per erogare servizi Smart CityPaolo Nesi
 
Snap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIES
Snap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIESSnap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIES
Snap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIESPaolo Nesi
 
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open CitiesFIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open CitiesFIWARE Mexico
 
RESOLUTE: Resilience management guidelines and Operationalization applied to ...
RESOLUTE: Resilience management guidelines and Operationalization applied to ...RESOLUTE: Resilience management guidelines and Operationalization applied to ...
RESOLUTE: Resilience management guidelines and Operationalization applied to ...Paolo Nesi
 
Keynote: Making Smarter Tuscany and Florence with Km4City
Keynote: Making Smarter Tuscany and Florence with Km4CityKeynote: Making Smarter Tuscany and Florence with Km4City
Keynote: Making Smarter Tuscany and Florence with Km4CityPaolo Nesi
 

Similar to IOT/IOE Elastically Scalable Architecture for Smart City and Industry 4.0 (20)

Complexity of IOT/IOE Architectures for Smart Service Infrastructures Panel:...
Complexity of IOT/IOE Architectures for  Smart Service Infrastructures Panel:...Complexity of IOT/IOE Architectures for  Smart Service Infrastructures Panel:...
Complexity of IOT/IOE Architectures for Smart Service Infrastructures Panel:...
 
Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...
Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...
Snap4City November 2019 Course: Smart City IOT Geernal overview, from dashboa...
 
Open Urban Platform: Technical View 2018: Km4City
Open Urban Platform: Technical View 2018: Km4CityOpen Urban Platform: Technical View 2018: Km4City
Open Urban Platform: Technical View 2018: Km4City
 
A Smart City Development kit for designing Web and Mobile Apps
A Smart City Development kit for designing  Web and Mobile AppsA Smart City Development kit for designing  Web and Mobile Apps
A Smart City Development kit for designing Web and Mobile Apps
 
Open Urban Platform for Smart City: Technical View
Open Urban Platform for Smart City: Technical View Open Urban Platform for Smart City: Technical View
Open Urban Platform for Smart City: Technical View
 
"Km4City: Smart City Ontology Building for Effective Erogation of Services"
"Km4City: Smart City Ontology Building for Effective Erogation of Services""Km4City: Smart City Ontology Building for Effective Erogation of Services"
"Km4City: Smart City Ontology Building for Effective Erogation of Services"
 
Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...
Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...
Snap4City November 2019 Course: Smart City IOT Dashboard, smart city control ...
 
Km4City: Smart City Ontology Building for Effective Erogation of Services
Km4City: Smart City Ontology Building for Effective Erogation of ServicesKm4City: Smart City Ontology Building for Effective Erogation of Services
Km4City: Smart City Ontology Building for Effective Erogation of Services
 
Smart City and Open Data Projects and tools of DISIT Lab
Smart City and Open Data Projects and tools of DISIT LabSmart City and Open Data Projects and tools of DISIT Lab
Smart City and Open Data Projects and tools of DISIT Lab
 
Webinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetWebinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slideset
 
Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...
Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...
Km4City: A reusable example of a Metropolitan-Wide Data Platform, MAJORCITIES...
 
hackathon smart city API, dai dati ai servizi
hackathon smart city API, dai dati ai servizihackathon smart city API, dai dati ai servizi
hackathon smart city API, dai dati ai servizi
 
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
 
Skolkovo 2 blackberry
Skolkovo 2 blackberrySkolkovo 2 blackberry
Skolkovo 2 blackberry
 
The Future is Internet of Things (IOT)
The Future is Internet of Things (IOT)The Future is Internet of Things (IOT)
The Future is Internet of Things (IOT)
 
Km4City: una soluzione aperta per erogare servizi Smart City
Km4City: una soluzione aperta per erogare servizi Smart CityKm4City: una soluzione aperta per erogare servizi Smart City
Km4City: una soluzione aperta per erogare servizi Smart City
 
Snap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIES
Snap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIESSnap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIES
Snap4City: SCALABLE SMART ANALYTIC APPLICATION BUILDER FOR SENTIENT CITIES
 
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open CitiesFIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
 
RESOLUTE: Resilience management guidelines and Operationalization applied to ...
RESOLUTE: Resilience management guidelines and Operationalization applied to ...RESOLUTE: Resilience management guidelines and Operationalization applied to ...
RESOLUTE: Resilience management guidelines and Operationalization applied to ...
 
Keynote: Making Smarter Tuscany and Florence with Km4City
Keynote: Making Smarter Tuscany and Florence with Km4CityKeynote: Making Smarter Tuscany and Florence with Km4City
Keynote: Making Smarter Tuscany and Florence with Km4City
 

Recently uploaded

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

IOT/IOE Elastically Scalable Architecture for Smart City and Industry 4.0

  • 1. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it Snap4City scalability, i‐Cities 2018, DISIT lab (C) https://www.disit.org/ Paolo Nesi, paolo.nesi@unifi.it https://www.Km4City.orghttps://www.snap4City.org IOT/IOE Elastically Scalable Architecture for Smart City and Industry 4.0 1 Pierfrancesco Bellini, Daniele Cenni, Paolo Nesi
  • 2. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Issues  • IOT Applications are typically being executed on cloud and IOT edge  devices; each of them may: – Be defined as applications (e.g., NodeJS) or simple rules, horn clauses, if‐then‐ else rules, etc.  – IOT App may be  • more flexible and capable to respect requirements on protection, privacy, GDPR, user  access and personalization, etc.  • executed on Docker, VM, cloud – End to end Security, robustness, MicroServices, GDPR, etc.  – Relevant problems regarding scalability: vertical and horizontal – Resources are: CPU, Memory, Network, Storage,  • But also for each IOT App and User: IOT Devices, MicroServices, ExternalServices,  DataAnalytics, MicroApplications, Dashboards, connections/traffic, etc. Snap4City scalability, i‐Cities 2018, DISIT lab (C) 2
  • 3. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Smart City Cloud Infrastructure Km4City Smart City API Knowledge  Base ETL Processes, Data Analytic, R; IOT App; etc.  Data Processing Tools Development and Management Tools ETL Processes Resource  Manager DataGate/ CKAN Km4City Ontology Phoenix, Hbase + indexing Big Data Storage Knowledge IoT/IoE Applications AMMA Linked Open Graph ServiceMap Data Flow Analysis DevDash Elastic Management of Containers Mobile and Web Apps Final Users’ Tools Dashboards Social Media IoT/IoE Open Data Personal Data Industry 4.0 GIS + Map Data IOT / IOE Apps IOT Directory Management Authentication, Authorization, GDPR, Security Assessment Resources and the ArchitectureSnap4City scalability, i‐Cities 2018, DISIT lab (C) 4
  • 4. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Snap4City scalability, i‐Cities 2018, DISIT lab (C) 5 Data processing  Development  Environment R Studio, Tensor Flow, …… Test DISCES Tools for Developers ETL Processes Data Analytics  Processes Cloud Elastic Management NodeRED Snap4City Developer NodeRED Snap4City Final User Cluster Manager, DISCES Scheduler Process  Loader Knowledge Base NIFI Indexing and  Search Services ServiceMap Sharded Index Map Reduce Kettle Hbase HDFS Phoenix Map Reduce Kettle Hbase HDFS Phoenix Map Reduce Kettle Hbase HDFS Phoenix NodeRED Snap4City Developer NodeRED Snap4City Developer NodeRED Snap4City Final User NodeRED Snap4City Final User Km4City Event LoggerBig Data Store IOT Directory ServiceMap3D SigFOX Server IOT Broker Proxy Filter Security OneM2M Server LoraWAN Gateways ….. Gateways IOT Application Builder Dashboardsand Applications Main.snap4city.org / www.snap4city.org LOG.disit.org/Flint Swagger Resource Manager DataGate/CKAN External Services….. Data Mapper GDPR Services: User Profiling,  Auditing, MyPersonalData, MyAnnotation, My IOT Keys, ….. Authentication and Authorisation Services and Auditing (KeyCloak, LDAP), Certification, HTTPS Annotations IOT Registration Notificator Dashboard Builder Wizard & Widgets Chat Manager Tools for Administrators KnowlegeManagement ResDash AMMA DevDash External Services City Operators Srv Legacy Srv Social Media …………… Snap4City MicroServices Smart City API Tools for Users Data Inspector MicroApplications IOT Broker Proxy Filter Security IOT Edge NodeRED Snap4City Developer IOT Apps IOT Edge NodeRED Snap4City Developer IOT Apps IOT Edge NodeRED Snap4City Developer IOT Apps
  • 5. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Coverage: examples • Search all services in the area Snap4City scalability, i‐Cities 2018, DISIT lab (C) Antwerp Bologna Toscana Sardegna Pisa 6
  • 6. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Km4City  in Tuscany Area What is enabling and providing smart services • Smart Parking, in Tuscany • Smart First Aid in Tuscany • Smart search for POI and public transport srv. • Public Transportation in Tuscany • Routing in Tuscany, simple and multimodal • Social Media Monitoring and acting • Traffic events and Resilience in Florence • Bike Sharing in Pisa and Siena • Recharge stations for e‐vehicles • Entertainment Events in Florence • Traffic Sensors in Tuscany • IOT/IOE sensors and actuators • Weather forecast/condition in Tuscany • Pollution and Pollination in Tuscany • People Monitoring, in Tuscany via App • ..People Monitoring Assessment in the City, in  Florence via Wi‐Fi All Point of Interests, cultural activities, IOT, … Over than 1.2 Million of complex events per day!https://servicemap.km4city.org 7
  • 7. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Level 4 users: dashboard with intelligence App • Dashboards with IOT Applications for enforcing smart and  intelligence into them. DashboardsIOT and City data World IOT Applications My IOT Devices Dashboard‐IOT App Snap4City scalability, i‐Cities 2018, DISIT lab (C) 8 Applications
  • 8. Snap4City scalability, i‐Cities 2018, DISIT lab (C) 9 City Dashboard + IOT App Control Room Operator Would like to: ‐ Monitor traffic flow,  Environment, Car parking,  Cycling, First aid, temp., .. ‐ Act and monitor Dynamic  Plates ‐ Act and monitor red lights Driver, Policeman Would like to: ‐ Monitor traffic,  Parking, env., speed limit, … ‐ Act and monitor red lights
  • 14. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Hosts with VM on Cloud HA, DRS, FT Snap4City scalability, i‐Cities 2018, DISIT lab (C) 15 Event Log Zeppelin Phoenix  HDFS, Hbase debian Event Log Zeppelin Phoenix  HDFS, Hbase debian Event Log Zeppelin Phoenix  HDFS, Hbase debian Event Log Zeppelin Phoenix  HDFS, Hbase debian Hosts/VM on Cloud in HA, elastic computing, .. . . . …… …….. ………. . containersDistribSrv. slave slave slave slave Pool of Containers NodeRed, Java Penthao Kettle, Java, Karma …….. R‐Stat, R‐Parallel Hadoop/Spark/SparkML Python, C++, C, java ………….. Master Master Master Masters in HA: Marathon/Mesos, Zookeeper, ….  VmWare VSphere Cnt. Scheduling Cloud Elastic  Management Cnt. Scheduling Cloud Elastic  Management DISCES  + Planner + Elastic Management Containers  Control API Cloud Management System & Resource Monitoring Cloud Management System & Resource Monitoring Resource Monitoring  & Cloud Resource  Management Monitoring API VM Control API
  • 15. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Elastic Scaling: allocare / deallocare • Allocazione / deallocazione, Rebalancing vs compacting – Verticale delle risorse Docker e/o VM: CPU, Mem • NodeJS multiflusso per ogni Docker, l’utente richiede i flussi e le IOT App, il sistema le  alloca in modo dinamico e ottimizza il carico • VM: gestione risorse Mem, CPU; trasparente ed automatica in DRS VmWare – Orizzontale delle risorse Docker e/o VM e/o [Host]: • Docker: aggiunta, spostamento (per clonazione) di IOT App • VM: on/off • Monitoraggio risorse:  – VM via VmWare API,      Docker via Marathon and Mesos API • Algoritmo in Python: azioni via API: VmWare, Marathon Snap4City scalability, i‐Cities 2018, DISIT lab (C) 16
  • 16. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Snap4City scalability, i‐Cities 2018, DISIT lab (C) 17
  • 17. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Snap4City scalability, i‐Cities 2018, DISIT lab (C) 18
  • 18. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Snap4City scalability, i‐Cities 2018, DISIT lab (C) 19
  • 19. DISIT Lab, Distributed Data Intelligence and Technologies Distributed Systems and Internet Technologies Department of Information Engineering (DINFO) http://www.disit.dinfo.unifi.it http://www.disit.org Note • Https://www.snap4city.org • Registratevi se lo volete provare o se volete saperne di piu’ Snap4City scalability, i‐Cities 2018, DISIT lab (C) 20