SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Web of Things
(wiring web objects with Node-RED)
Francesco Collovà - francesco.collova @ gmail.com
about.me - http://about.me/francesco.collova
LinkedIn - it.linkedin.com/in/fcollova/
20/03/2015
Web of Things
The Web of Things (WoT) is a term used to describe approaches, software
architectural styles and programming patterns that allow real-world objects to
be part of the World Wide Web.
WoT reuses existing and well-known Web standards (e.g., REST, HTTP,
JSON), semantic Web (e.g., JSON-LD, Microdata, etc.), the real-time Web
(e.g.,Websockets) and the social Web (e.g., oauth or social networks).
While there are ongoing efforts to standardise it,the WoT is a set of best
practices that can be classified according to the Web of Things architecture.
http://en.wikipedia.org/wiki/Web_of_Things
WoT Requirements
Common WoT scenarios require integration with online web services
and (near) real time sensors and actuators to allow monitoring and
interaction, and computing:
● Device Sensors can interpret raw sensor readings to send
“presence & info” events;
● Device Actuators can interact with the environment to
accomplish a specific action;
● Gateways can aggregate data from several sensors and
perform some simple data processing;
● Server cloud-based systems can connect to online services and
web service (real time access to social network feeds and alert
channels)
● SmartPhone App & People (Robots & Drones)
WoT require the coordination of computing resources hosted on “things” and “servers”
across the Internet (hosted in the cloud, on gateways and on “smart devices”)
Data Flow Paradigm for WoT
Data Flow Programming is a paradigm in which computation is modelled as a directed graph (which
may or may not contain cycles), the nodes of which are either data sources (producers of data), data
sinks (consumers), or "processing elements" which compute some function; and the arcs of which
represent data flow between nodes.
When asynchronous nodes operate whenever there is data at their input vertices (the push model) or
requests for data upon their outputs (the pull model).
Several platforms provide a data flow programming paradigm where computer programs are modeled
as “directed graphs” connecting networks of “black box” nodes that exchange data along connected
arcs.
Provide more flexibility and maintaining ease of use.
Cloud Service
Presence Sensor
SmartPhone
Server
Data Flow Program Example
User Phone
Text analysis
Trending
Topics
Habit
Analysis
Likes
User Sensor
Smart TV
Presence
Monitor
Info Receiver
Analysis
TV Controller
Program
Schedule
Twitter Input
Data Flow
Messages
Technologies
● Python, Javascript & Json
● Node.js web ecosystem
● NoSQL high throughput
database
● Cloud Computing (container
& deploy)
● low cost HW ecosystems:
o Arduino
o RaspberryPI
High scalable & data web/mobile app
Modern web app needs to handle ten thousands of
concurrent connections and require low latency (C10k
problem http://en.wikipedia.org/wiki/C10k_problem ).
Issues:
● Avoid deadlock situations
● Manage Race-Conditions (sequence or timing
uncontrollable events)
● Heavy Context Switching headaches
● Big memory consumptions issues.
Node.js
NODE.js IS A PLATFORM BUILT ON CHROME'S JAVASCRIPT RUNTIME FOR EASILY BUILDING
FAST, SCALABLE NETWORK APPLICATIONS. NODE.JS USES AN EVENT-DRIVEN, NON-
BLOCKING I/O MODEL THAT MAKES IT LIGHTWEIGHT AND EFFICIENT, PERFECT FOR DATA-
INTENSIVE REAL-TIME APPLICATIONS THAT RUN ACROSS DISTRIBUTED DEVICES.
image taken from http://kunkle.org/nodejs-explained-pres/#/conceptually-simple
Image taken from http://www.aaronstannard.com/post/2011/12/14/Intro-to-NodeJS-for-NET-
Developers.aspx
Node-RED
A visual tool for wiring the Internet of Things.
● Open Source Apache V2.0
● Node-RED is created by IBM's
Emerging Technology
(http://nodered.org)
● Based on Node.js ecosystem
● Rapid Prototyping for IoT
● Node-Red provide a browser
based flow editor to wire the wide
typology “node” available
Node-RED
● Message are Json objects
● Different categories of “nodes”
o input to process incoming message: trigger, TCP, UDP, websocket,
MQTT, file, datastore, social, custom nodes;
o output to send outgoing message: debug, HTTP, TCP, UDP,
websocket, MQTT, file, datastore, custom nodes
o function to manipulate message: trasform, filter, map, analyse
o function node: run javascript code in a sandbox
f
msg
msg2
msg1
javascript
Node-RED Example flow

Contenu connexe

Tendances

Bluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part IBluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part IJoseph Chang
 
OpenStack Ironic Project Summary, February 2014
OpenStack Ironic Project Summary, February 2014OpenStack Ironic Project Summary, February 2014
OpenStack Ironic Project Summary, February 2014Devananda Van Der Veen
 
Evolving Virtual Networking with IO Visor
Evolving Virtual Networking with IO VisorEvolving Virtual Networking with IO Visor
Evolving Virtual Networking with IO VisorLarry Lang
 
OFI Overview 2019 Webinar
OFI Overview 2019 WebinarOFI Overview 2019 Webinar
OFI Overview 2019 Webinarseanhefty
 
Using java to access bluemix object storage v2
Using java to access bluemix object storage v2Using java to access bluemix object storage v2
Using java to access bluemix object storage v2Joseph Chang
 
Bitsy graph database
Bitsy graph databaseBitsy graph database
Bitsy graph databaseLambdaZen LLC
 
Microservices and containers networking: Contiv, an industry leading open sou...
Microservices and containers networking: Contiv, an industry leading open sou...Microservices and containers networking: Contiv, an industry leading open sou...
Microservices and containers networking: Contiv, an industry leading open sou...Codemotion
 
Banog meetup August 30th, network device property as code
Banog meetup August 30th, network device property as codeBanog meetup August 30th, network device property as code
Banog meetup August 30th, network device property as codeDamien Garros
 
InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...
InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...
InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...InfluxData
 
My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)
My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)
My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)NTT DATA Technology & Innovation
 

Tendances (10)

Bluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part IBluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part I
 
OpenStack Ironic Project Summary, February 2014
OpenStack Ironic Project Summary, February 2014OpenStack Ironic Project Summary, February 2014
OpenStack Ironic Project Summary, February 2014
 
Evolving Virtual Networking with IO Visor
Evolving Virtual Networking with IO VisorEvolving Virtual Networking with IO Visor
Evolving Virtual Networking with IO Visor
 
OFI Overview 2019 Webinar
OFI Overview 2019 WebinarOFI Overview 2019 Webinar
OFI Overview 2019 Webinar
 
Using java to access bluemix object storage v2
Using java to access bluemix object storage v2Using java to access bluemix object storage v2
Using java to access bluemix object storage v2
 
Bitsy graph database
Bitsy graph databaseBitsy graph database
Bitsy graph database
 
Microservices and containers networking: Contiv, an industry leading open sou...
Microservices and containers networking: Contiv, an industry leading open sou...Microservices and containers networking: Contiv, an industry leading open sou...
Microservices and containers networking: Contiv, an industry leading open sou...
 
Banog meetup August 30th, network device property as code
Banog meetup August 30th, network device property as codeBanog meetup August 30th, network device property as code
Banog meetup August 30th, network device property as code
 
InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...
InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...
InfluxDB Client Libraries and Applications by Ivan Kudibal, Engineering Manag...
 
My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)
My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)
My Experiences as a Beginner of OpenJDK Contributor (jLove Conference)
 

En vedette

An introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDAn introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDBoris Adryan
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsAniruddha Chakrabarti
 
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)Mr.Nukoon Phimsen
 
Node-RED Interoperability Test
Node-RED Interoperability TestNode-RED Interoperability Test
Node-RED Interoperability TestBoris Adryan
 
TampereJS Meetup: Node-RED by Mika Karaila, Valmet
TampereJS Meetup: Node-RED by Mika Karaila, ValmetTampereJS Meetup: Node-RED by Mika Karaila, Valmet
TampereJS Meetup: Node-RED by Mika Karaila, ValmetSointu Karjalainen
 
Bluemix node red-part iii
Bluemix node red-part iiiBluemix node red-part iii
Bluemix node red-part iiiJoseph Chang
 
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14Boris Adryan
 
Bluemix Node-Red Part I
Bluemix Node-Red Part IBluemix Node-Red Part I
Bluemix Node-Red Part IJoseph Chang
 
Distributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDDistributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDMichael Blackstock
 
Bluemix Node-Red Part II
Bluemix Node-Red Part IIBluemix Node-Red Part II
Bluemix Node-Red Part IIJoseph Chang
 
Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練Joseph Chiang
 
Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34Shaikhul Islam Chowdhury
 
Java script 全面逆襲!使用 node.js 打造桌面環境!
Java script 全面逆襲!使用 node.js 打造桌面環境!Java script 全面逆襲!使用 node.js 打造桌面環境!
Java script 全面逆襲!使用 node.js 打造桌面環境!Fred Chien
 
Protocol implementation on NS2
Protocol implementation on NS2Protocol implementation on NS2
Protocol implementation on NS2amreshrai02
 
NS-2 Tutorial
NS-2 TutorialNS-2 Tutorial
NS-2 Tutorialcode453
 
學好 node.js 不可不知的事
學好 node.js 不可不知的事學好 node.js 不可不知的事
學好 node.js 不可不知的事Ben Lue
 

En vedette (18)

An introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDAn introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-RED
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
 
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
 
Node-RED Interoperability Test
Node-RED Interoperability TestNode-RED Interoperability Test
Node-RED Interoperability Test
 
TampereJS Meetup: Node-RED by Mika Karaila, Valmet
TampereJS Meetup: Node-RED by Mika Karaila, ValmetTampereJS Meetup: Node-RED by Mika Karaila, Valmet
TampereJS Meetup: Node-RED by Mika Karaila, Valmet
 
Bluemix node red-part iii
Bluemix node red-part iiiBluemix node red-part iii
Bluemix node red-part iii
 
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
 
Bluemix Node-Red Part I
Bluemix Node-Red Part IBluemix Node-Red Part I
Bluemix Node-Red Part I
 
Distributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDDistributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-RED
 
Bluemix Node-Red Part II
Bluemix Node-Red Part IIBluemix Node-Red Part II
Bluemix Node-Red Part II
 
Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練
 
Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34
 
Java script 全面逆襲!使用 node.js 打造桌面環境!
Java script 全面逆襲!使用 node.js 打造桌面環境!Java script 全面逆襲!使用 node.js 打造桌面環境!
Java script 全面逆襲!使用 node.js 打造桌面環境!
 
Protocol implementation on NS2
Protocol implementation on NS2Protocol implementation on NS2
Protocol implementation on NS2
 
NS-2 Tutorial
NS-2 TutorialNS-2 Tutorial
NS-2 Tutorial
 
Ns2
Ns2Ns2
Ns2
 
Ns 2 Network Simulator An Introduction
Ns 2 Network Simulator An IntroductionNs 2 Network Simulator An Introduction
Ns 2 Network Simulator An Introduction
 
學好 node.js 不可不知的事
學好 node.js 不可不知的事學好 node.js 不可不知的事
學好 node.js 不可不知的事
 

Similaire à Web of Things (wiring web objects with Node-RED)

API Design and WebSocket
API Design and WebSocketAPI Design and WebSocket
API Design and WebSocketFrank Greco
 
Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...
Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...
Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...PhD Assistance
 
CTS Conference Web 2.0 Tutorial Part 1
CTS Conference Web 2.0 Tutorial Part 1CTS Conference Web 2.0 Tutorial Part 1
CTS Conference Web 2.0 Tutorial Part 1Geoffrey Fox
 
Big Data to SMART Data : Process Scenario
Big Data to SMART Data : Process ScenarioBig Data to SMART Data : Process Scenario
Big Data to SMART Data : Process ScenarioCHAKER ALLAOUI
 
Report file on Web technology(html5 and css3)
Report file on Web technology(html5 and css3)Report file on Web technology(html5 and css3)
Report file on Web technology(html5 and css3)PCG Solution
 
Webofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptxWebofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptxjainam bhavsar
 
eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...
eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...
eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...Juan Antonio Martin Checa
 
Live Mesh Presentation Bruno Svc
Live Mesh Presentation Bruno SvcLive Mesh Presentation Bruno Svc
Live Mesh Presentation Bruno SvcWes Yanaga
 
Open Source Edge Computing Platforms - Overview
Open Source Edge Computing Platforms - OverviewOpen Source Edge Computing Platforms - Overview
Open Source Edge Computing Platforms - OverviewKrishna-Kumar
 
Mashups for Network Management
Mashups for Network ManagementMashups for Network Management
Mashups for Network ManagementOscar Caicedo
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of ThingsFrank Greco
 
IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...
IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...
IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...Guido Schmutz
 
Why we need internet of things on Node.js
Why we need internet of things on Node.jsWhy we need internet of things on Node.js
Why we need internet of things on Node.jsIndeema Software Inc.
 
Web Services Foundation Technologies
Web Services Foundation TechnologiesWeb Services Foundation Technologies
Web Services Foundation TechnologiesPankaj Saharan
 
Course Notes-Unit 5.ppt
Course Notes-Unit 5.pptCourse Notes-Unit 5.ppt
Course Notes-Unit 5.pptSafaM3
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop OverviewShubhra Kar
 
Web OS in Cloud Computing: A Case study
Web OS in Cloud Computing: A Case studyWeb OS in Cloud Computing: A Case study
Web OS in Cloud Computing: A Case studyEswar Publications
 
internet architecture.pdf
internet architecture.pdfinternet architecture.pdf
internet architecture.pdfqhawengcongo
 

Similaire à Web of Things (wiring web objects with Node-RED) (20)

API Design and WebSocket
API Design and WebSocketAPI Design and WebSocket
API Design and WebSocket
 
Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...
Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...
Research Proposal on Visual Computing and Robotics | PhD Research Proposal As...
 
CTS Conference Web 2.0 Tutorial Part 1
CTS Conference Web 2.0 Tutorial Part 1CTS Conference Web 2.0 Tutorial Part 1
CTS Conference Web 2.0 Tutorial Part 1
 
Big Data to SMART Data : Process Scenario
Big Data to SMART Data : Process ScenarioBig Data to SMART Data : Process Scenario
Big Data to SMART Data : Process Scenario
 
Report file on Web technology(html5 and css3)
Report file on Web technology(html5 and css3)Report file on Web technology(html5 and css3)
Report file on Web technology(html5 and css3)
 
Webofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptxWebofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptx
 
eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...
eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...
eSOA: A Contextual Analysis on Service Oriented Architecture for Embeddded Ne...
 
Live Mesh Presentation Bruno Svc
Live Mesh Presentation Bruno SvcLive Mesh Presentation Bruno Svc
Live Mesh Presentation Bruno Svc
 
Open Source Edge Computing Platforms - Overview
Open Source Edge Computing Platforms - OverviewOpen Source Edge Computing Platforms - Overview
Open Source Edge Computing Platforms - Overview
 
Internet of Things and Big Data
Internet of Things and Big DataInternet of Things and Big Data
Internet of Things and Big Data
 
Mashups for Network Management
Mashups for Network ManagementMashups for Network Management
Mashups for Network Management
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of Things
 
IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...
IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...
IoT Architecture - Are Traditional Architectures Good Enough or do we Need Ne...
 
Why we need internet of things on Node.js
Why we need internet of things on Node.jsWhy we need internet of things on Node.js
Why we need internet of things on Node.js
 
Web Services Foundation Technologies
Web Services Foundation TechnologiesWeb Services Foundation Technologies
Web Services Foundation Technologies
 
Course Notes-Unit 5.ppt
Course Notes-Unit 5.pptCourse Notes-Unit 5.ppt
Course Notes-Unit 5.ppt
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop Overview
 
Web OS in Cloud Computing: A Case study
Web OS in Cloud Computing: A Case studyWeb OS in Cloud Computing: A Case study
Web OS in Cloud Computing: A Case study
 
IoT.pdf
IoT.pdfIoT.pdf
IoT.pdf
 
internet architecture.pdf
internet architecture.pdfinternet architecture.pdf
internet architecture.pdf
 

Plus de Francesco Collova'

Lean Startup Machine Napoli Experiment Board
Lean Startup Machine Napoli Experiment BoardLean Startup Machine Napoli Experiment Board
Lean Startup Machine Napoli Experiment BoardFrancesco Collova'
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksFrancesco Collova'
 
(Social) Network Analysis per le organizzazioni
(Social) Network Analysis per le organizzazioni(Social) Network Analysis per le organizzazioni
(Social) Network Analysis per le organizzazioniFrancesco Collova'
 
Turismo e social web nei comuni italiani
Turismo e social web nei comuni italianiTurismo e social web nei comuni italiani
Turismo e social web nei comuni italianiFrancesco Collova'
 

Plus de Francesco Collova' (6)

Lean Startup Machine Napoli Experiment Board
Lean Startup Machine Napoli Experiment BoardLean Startup Machine Napoli Experiment Board
Lean Startup Machine Napoli Experiment Board
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
 
Infrastructure as Data
Infrastructure as DataInfrastructure as Data
Infrastructure as Data
 
Metodologia_AIA
Metodologia_AIAMetodologia_AIA
Metodologia_AIA
 
(Social) Network Analysis per le organizzazioni
(Social) Network Analysis per le organizzazioni(Social) Network Analysis per le organizzazioni
(Social) Network Analysis per le organizzazioni
 
Turismo e social web nei comuni italiani
Turismo e social web nei comuni italianiTurismo e social web nei comuni italiani
Turismo e social web nei comuni italiani
 

Dernier

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Web of Things (wiring web objects with Node-RED)

  • 1. Web of Things (wiring web objects with Node-RED) Francesco Collovà - francesco.collova @ gmail.com about.me - http://about.me/francesco.collova LinkedIn - it.linkedin.com/in/fcollova/ 20/03/2015
  • 2. Web of Things The Web of Things (WoT) is a term used to describe approaches, software architectural styles and programming patterns that allow real-world objects to be part of the World Wide Web. WoT reuses existing and well-known Web standards (e.g., REST, HTTP, JSON), semantic Web (e.g., JSON-LD, Microdata, etc.), the real-time Web (e.g.,Websockets) and the social Web (e.g., oauth or social networks). While there are ongoing efforts to standardise it,the WoT is a set of best practices that can be classified according to the Web of Things architecture. http://en.wikipedia.org/wiki/Web_of_Things
  • 3. WoT Requirements Common WoT scenarios require integration with online web services and (near) real time sensors and actuators to allow monitoring and interaction, and computing: ● Device Sensors can interpret raw sensor readings to send “presence & info” events; ● Device Actuators can interact with the environment to accomplish a specific action; ● Gateways can aggregate data from several sensors and perform some simple data processing; ● Server cloud-based systems can connect to online services and web service (real time access to social network feeds and alert channels) ● SmartPhone App & People (Robots & Drones) WoT require the coordination of computing resources hosted on “things” and “servers” across the Internet (hosted in the cloud, on gateways and on “smart devices”)
  • 4. Data Flow Paradigm for WoT Data Flow Programming is a paradigm in which computation is modelled as a directed graph (which may or may not contain cycles), the nodes of which are either data sources (producers of data), data sinks (consumers), or "processing elements" which compute some function; and the arcs of which represent data flow between nodes. When asynchronous nodes operate whenever there is data at their input vertices (the push model) or requests for data upon their outputs (the pull model). Several platforms provide a data flow programming paradigm where computer programs are modeled as “directed graphs” connecting networks of “black box” nodes that exchange data along connected arcs. Provide more flexibility and maintaining ease of use.
  • 5. Cloud Service Presence Sensor SmartPhone Server Data Flow Program Example User Phone Text analysis Trending Topics Habit Analysis Likes User Sensor Smart TV Presence Monitor Info Receiver Analysis TV Controller Program Schedule Twitter Input Data Flow Messages
  • 6. Technologies ● Python, Javascript & Json ● Node.js web ecosystem ● NoSQL high throughput database ● Cloud Computing (container & deploy) ● low cost HW ecosystems: o Arduino o RaspberryPI
  • 7. High scalable & data web/mobile app Modern web app needs to handle ten thousands of concurrent connections and require low latency (C10k problem http://en.wikipedia.org/wiki/C10k_problem ). Issues: ● Avoid deadlock situations ● Manage Race-Conditions (sequence or timing uncontrollable events) ● Heavy Context Switching headaches ● Big memory consumptions issues.
  • 8. Node.js NODE.js IS A PLATFORM BUILT ON CHROME'S JAVASCRIPT RUNTIME FOR EASILY BUILDING FAST, SCALABLE NETWORK APPLICATIONS. NODE.JS USES AN EVENT-DRIVEN, NON- BLOCKING I/O MODEL THAT MAKES IT LIGHTWEIGHT AND EFFICIENT, PERFECT FOR DATA- INTENSIVE REAL-TIME APPLICATIONS THAT RUN ACROSS DISTRIBUTED DEVICES. image taken from http://kunkle.org/nodejs-explained-pres/#/conceptually-simple Image taken from http://www.aaronstannard.com/post/2011/12/14/Intro-to-NodeJS-for-NET- Developers.aspx
  • 9. Node-RED A visual tool for wiring the Internet of Things. ● Open Source Apache V2.0 ● Node-RED is created by IBM's Emerging Technology (http://nodered.org) ● Based on Node.js ecosystem ● Rapid Prototyping for IoT ● Node-Red provide a browser based flow editor to wire the wide typology “node” available
  • 10. Node-RED ● Message are Json objects ● Different categories of “nodes” o input to process incoming message: trigger, TCP, UDP, websocket, MQTT, file, datastore, social, custom nodes; o output to send outgoing message: debug, HTTP, TCP, UDP, websocket, MQTT, file, datastore, custom nodes o function to manipulate message: trasform, filter, map, analyse o function node: run javascript code in a sandbox f msg msg2 msg1 javascript