SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Downloaden Sie, um offline zu lesen
Connecting Physical Devices to the Web 
Event Driven Architecture using WebSocket for the Internet of Things 
Peter Moskovits 
Head of Real-Time Solutions 
Oslo, September 11, 2014 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
About Peter 
Peter Moskovits 
Head of Real-Time Solutions 
peter.moskovits@kaazing.com 
@pmoskovi
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Demos
The Request-Response Web 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Browser 
Half Duplex 
Full duplex 
Back-end server 
Web 
Web Tier Middleware 
Legacy Web
HTML5 WebSocket: TCP for the Web 
§ Standard Protocol (IETF): RFC-6455 
§ Standard API (W3C): JavaScript 
§ Single socket, full-duplex 
§ Low overhead: <1% of HTTP 
§ Low latency: low milliseconds 
§ SSL support 
Full duplex 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
The Event-Driven Web 
WebSocket Full duplex 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Browser 
Half Duplex 
Full duplex 
Back-end server 
Web 
Web Tier Middleware 
Legacy Web 
Event-Driven Web 
WebSocket Server Back-end server 
Web
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
How Can I Use?
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
How Can I Use?
The WebSocket Handshake 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Available in Chrome Developer Tools 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Your application 
IMAP/SMTP/POP3 XMPP 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Protocol Layering 
TCP
Your application 
HTTP IMAP/SMTP/POP3 XMPP 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Protocol Layering 
TCP
Your application 
IMAP/SMTP/POP3 XMPP 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Protocol Layering 
TCP 
HTTP 
WebSocket
WebSocket Clients and Server 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Enterprise Messaging Extended to the Web 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Win a Copy
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Win a Copy 
1. Introduction to HTML5 WebSocket 
2. The WebSocket API 
3. The WebSocket Protocol 
4. Building Instant Messaging and Chat over WebSocket with 
XMPP 
5. Using Messaging over WebSocket with STOMP 
6. VNC with the Remote Frame Buffer Protocol 
7. WebSocket Security 
8. Deployment Considerations 
http://goo.gl/xcvj7p
Connected Devices 
Bridging the Gap Between Hardware and Software 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Raspberry Pi 
Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Demo Setup
Controlling the Light Remotely Using Pub-Sub Over the Web 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Light Switch: Range Extended to the Web 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Demo
Remote Controlling Car Over the Web - The Architecture 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Telemetry Data Distributed to the Web Over Satellite Network 
KWG 
Message 
Broker 
JMS 
WS 
JMS 
WS 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Telemetry Data Distributed to the Web Over Satellite Network 
KWG 
Message 
Broker 
JMS 
WS 
JMS 
WS 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Telemetry Data Distributed to the Web Over Satellite Network 
KWG 
Message 
Broker 
JMS 
WS 
JMS 
WS 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Java 
App
Telemetry Data Distributed to the Web Over Satellite Network 
KWG 
Message 
Broker 
JMS 
WS 
JMS 
WS 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Java 
App
About the Quadcopter: DJI Phantom 2 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
The Sensor Stack
Arduino: GPS, thermometer, humidity, compass, accelerometer + Go Pro 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Satellite Terminal: InmarSat – Geostationary Satellites 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Satellite Terminal: InmarSat – Geostationary Satellites 
Warning: Microwave radiation 
Minimum safe distance: 0.6 metres 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
The Team
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
DEMO
End-to-end latency: under 1 second 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
DEMO
It’s More Than “Just” the Web 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Connected Devices
Connected Devices Communicating with WebSocket 
WS WS 
WS 
WS 
WS 
WS 
WS 
WS 
WS 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Connected Devices Communicating with Proprietary Protocols over WS 
AMQP/WS 
MQTT/WS 
JMS/WS 
XMPP/WS 
STOMP/WS 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
What Does KAAZING do? 
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Clients 
disconnect 
Network 
intermediaries 
Locked down 
firewalls 
Millions of 
users 
High 
availability 
Disaster 
recovery 
Developer 
productivity 
Integration 
with existing 
security 
infrastructure
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Win a Copy 
1. Introduction to HTML5 WebSocket 
2. The WebSocket API 
3. The WebSocket Protocol 
4. Building Instant Messaging and Chat over 
WebSocket with XMPP 
5. Using Messaging over WebSocket with STOMP 
6. VNC with the Remote Frame Buffer Protocol 
7. WebSocket Security 
8. Deployment Considerations 
http://goo.gl/xcvj7p
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
Learn More 
§ http://kaazing.com 
§ http://tutorial.kaazing.com 
§ http://kaazing.com/telemetry 
§ The Definitive Guide to HTML5 WebSocket
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. 
About Peter 
Peter Moskovits 
Head of Real-Time Solutions 
peter.moskovits@kaazing.com 
@pmoskovi
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.

Weitere ähnliche Inhalte

Was ist angesagt?

Websockets at tossug
Websockets at tossugWebsockets at tossug
Websockets at tossug
clkao
 
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
WebSockets: The Current State of the Most Valuable HTML5 API for Java DevelopersWebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
Viktor Gamov
 
Building Real-Time Enterprise Applications for the Internet of Things
Building Real-Time Enterprise Applications for the Internet of ThingsBuilding Real-Time Enterprise Applications for the Internet of Things
Building Real-Time Enterprise Applications for the Internet of Things
Peter Moskovits
 
Http/2 - What's it all about?
Http/2  - What's it all about?Http/2  - What's it all about?
Http/2 - What's it all about?
Andy Davies
 
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
guestb1b95b
 
Websockets in Node.js - Making them reliable and scalable
Websockets in Node.js - Making them reliable and scalableWebsockets in Node.js - Making them reliable and scalable
Websockets in Node.js - Making them reliable and scalable
Gareth Marland
 

Was ist angesagt? (20)

Websockets at tossug
Websockets at tossugWebsockets at tossug
Websockets at tossug
 
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
WebSockets: The Current State of the Most Valuable HTML5 API for Java DevelopersWebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
 
Building Real-Time Enterprise Applications for the Internet of Things
Building Real-Time Enterprise Applications for the Internet of ThingsBuilding Real-Time Enterprise Applications for the Internet of Things
Building Real-Time Enterprise Applications for the Internet of Things
 
Harness the power of http headers to secure your web apps
Harness the power of http headers to secure your web appsHarness the power of http headers to secure your web apps
Harness the power of http headers to secure your web apps
 
Rails security: above and beyond the defaults
Rails security: above and beyond the defaultsRails security: above and beyond the defaults
Rails security: above and beyond the defaults
 
Http/2 - What's it all about?
Http/2  - What's it all about?Http/2  - What's it all about?
Http/2 - What's it all about?
 
Word campktm speed-security
Word campktm speed-securityWord campktm speed-security
Word campktm speed-security
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
 
The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015
 
International Site Speed Tweaks - ISS 2017 Barcelona
International Site Speed Tweaks - ISS 2017 BarcelonaInternational Site Speed Tweaks - ISS 2017 Barcelona
International Site Speed Tweaks - ISS 2017 Barcelona
 
The WAF book intro protection elements v1.0 lior rotkovitch
The WAF book intro protection elements v1.0 lior rotkovitchThe WAF book intro protection elements v1.0 lior rotkovitch
The WAF book intro protection elements v1.0 lior rotkovitch
 
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
 
Websockets in Node.js - Making them reliable and scalable
Websockets in Node.js - Making them reliable and scalableWebsockets in Node.js - Making them reliable and scalable
Websockets in Node.js - Making them reliable and scalable
 
Apache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-onApache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-on
 
.htaccess for SEOs - A presentation by Roxana Stingu
.htaccess for SEOs - A presentation by Roxana Stingu.htaccess for SEOs - A presentation by Roxana Stingu
.htaccess for SEOs - A presentation by Roxana Stingu
 
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)
 
Site Performance Optimization for Joomla #jwc13
Site Performance Optimization for Joomla #jwc13Site Performance Optimization for Joomla #jwc13
Site Performance Optimization for Joomla #jwc13
 
10 Excellent Ways to Secure Spring Boot Applications - Okta Webinar 2020
10 Excellent Ways to Secure Spring Boot Applications - Okta Webinar 202010 Excellent Ways to Secure Spring Boot Applications - Okta Webinar 2020
10 Excellent Ways to Secure Spring Boot Applications - Okta Webinar 2020
 
Apache httpd Reverse Proxy and Tomcat
Apache httpd Reverse Proxy and TomcatApache httpd Reverse Proxy and Tomcat
Apache httpd Reverse Proxy and Tomcat
 

Andere mochten auch

Open Product Data: The Web of Things - 'RESTifying the Physical Products'
Open Product Data: The Web of Things - 'RESTifying the Physical Products' Open Product Data: The Web of Things - 'RESTifying the Physical Products'
Open Product Data: The Web of Things - 'RESTifying the Physical Products'
EVRYTHNG
 
20150127 사물인터넷 앱 개발과 커넥티드(connected)
20150127 사물인터넷 앱 개발과 커넥티드(connected)20150127 사물인터넷 앱 개발과 커넥티드(connected)
20150127 사물인터넷 앱 개발과 커넥티드(connected)
Devgear
 

Andere mochten auch (20)

Create Engaging Digital Commerce Experiences with IBM and CoreMedia
Create Engaging Digital Commerce Experiences with IBM and CoreMediaCreate Engaging Digital Commerce Experiences with IBM and CoreMedia
Create Engaging Digital Commerce Experiences with IBM and CoreMedia
 
Developing Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web AppsDeveloping Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web Apps
 
Connected Devices, MozVR & Firefox Developer Tools
Connected Devices, MozVR & Firefox Developer ToolsConnected Devices, MozVR & Firefox Developer Tools
Connected Devices, MozVR & Firefox Developer Tools
 
Open Product Data: The Web of Things - 'RESTifying the Physical Products'
Open Product Data: The Web of Things - 'RESTifying the Physical Products' Open Product Data: The Web of Things - 'RESTifying the Physical Products'
Open Product Data: The Web of Things - 'RESTifying the Physical Products'
 
Sensor Web and IoT and the role of Geography (English translation)
Sensor Web and IoT and the role of Geography (English translation)Sensor Web and IoT and the role of Geography (English translation)
Sensor Web and IoT and the role of Geography (English translation)
 
The Web of Things - Giving physical products a digital voice.
The Web of Things - Giving physical products a digital voice.The Web of Things - Giving physical products a digital voice.
The Web of Things - Giving physical products a digital voice.
 
WoT.js - WoT App. Framework for Open Source Hardware
WoT.js - WoT App. Framework for Open Source HardwareWoT.js - WoT App. Framework for Open Source Hardware
WoT.js - WoT App. Framework for Open Source Hardware
 
Physical Web Benefits and Native App Compatibility
Physical Web Benefits and Native App Compatibility Physical Web Benefits and Native App Compatibility
Physical Web Benefits and Native App Compatibility
 
Provice Trend
Provice TrendProvice Trend
Provice Trend
 
石木標2015科技大論壇-從電信產業看物聯網發展v6
石木標2015科技大論壇-從電信產業看物聯網發展v6石木標2015科技大論壇-從電信產業看物聯網發展v6
石木標2015科技大論壇-從電信產業看物聯網發展v6
 
Mozilla & Connected Devices
Mozilla & Connected DevicesMozilla & Connected Devices
Mozilla & Connected Devices
 
The Physical Web is a Speed Issue - Velocity 2015
The Physical Web is a Speed Issue - Velocity 2015The Physical Web is a Speed Issue - Velocity 2015
The Physical Web is a Speed Issue - Velocity 2015
 
IOT 비즈니스기회
IOT 비즈니스기회IOT 비즈니스기회
IOT 비즈니스기회
 
NFC 시장의 새로운 패러다임을 제시할 시솔
NFC 시장의 새로운 패러다임을 제시할 시솔NFC 시장의 새로운 패러다임을 제시할 시솔
NFC 시장의 새로운 패러다임을 제시할 시솔
 
Value for a Connected Vehicle (IoT)
Value for a Connected Vehicle (IoT)Value for a Connected Vehicle (IoT)
Value for a Connected Vehicle (IoT)
 
비콘기반 모바일 사례 발표 20141121
비콘기반 모바일 사례 발표 20141121비콘기반 모바일 사례 발표 20141121
비콘기반 모바일 사례 발표 20141121
 
비콘..
비콘..비콘..
비콘..
 
20150127 사물인터넷 앱 개발과 커넥티드(connected)
20150127 사물인터넷 앱 개발과 커넥티드(connected)20150127 사물인터넷 앱 개발과 커넥티드(connected)
20150127 사물인터넷 앱 개발과 커넥티드(connected)
 
Catalysing Innovation in Pharma IT: Keeping AstraZeneca Ahead of Disruptive T...
Catalysing Innovation in Pharma IT: Keeping AstraZeneca Ahead of Disruptive T...Catalysing Innovation in Pharma IT: Keeping AstraZeneca Ahead of Disruptive T...
Catalysing Innovation in Pharma IT: Keeping AstraZeneca Ahead of Disruptive T...
 
Web of Things Application Architecture
Web of Things Application ArchitectureWeb of Things Application Architecture
Web of Things Application Architecture
 

Ähnlich wie Connecting Physical Devices to the Web - Event Driven Architecture using WebSocket for the Internet of Things

Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...
Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...
Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...
Peter Moskovits
 
Hacking Client Side Insecurities
Hacking Client Side InsecuritiesHacking Client Side Insecurities
Hacking Client Side Insecurities
amiable_indian
 

Ähnlich wie Connecting Physical Devices to the Web - Event Driven Architecture using WebSocket for the Internet of Things (20)

Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...
Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...
Controlling Physical Devices on the Real-Time Web: Enterprise-Grade WebSocket...
 
WebGL and Real-Time Web Communication
WebGL and Real-Time Web CommunicationWebGL and Real-Time Web Communication
WebGL and Real-Time Web Communication
 
WebSocket Perspectives and Vision for the Future - HTML5DevConf Oct 2013 SF
WebSocket Perspectives and Vision for the Future - HTML5DevConf Oct 2013 SFWebSocket Perspectives and Vision for the Future - HTML5DevConf Oct 2013 SF
WebSocket Perspectives and Vision for the Future - HTML5DevConf Oct 2013 SF
 
Past, Present and Future of WebSocket - HTML5DevConf May 2014
Past, Present and Future of WebSocket - HTML5DevConf May 2014Past, Present and Future of WebSocket - HTML5DevConf May 2014
Past, Present and Future of WebSocket - HTML5DevConf May 2014
 
The Web of Things - IoTExpo SF - May 2014
The Web of Things - IoTExpo SF - May 2014The Web of Things - IoTExpo SF - May 2014
The Web of Things - IoTExpo SF - May 2014
 
WebSocket Perspectives and Vision for the Future
WebSocket Perspectives and Vision for the FutureWebSocket Perspectives and Vision for the Future
WebSocket Perspectives and Vision for the Future
 
Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014
 
NYC Identity Summit Tech Day: Authorization for the Modern World
NYC Identity Summit Tech Day: Authorization for the Modern WorldNYC Identity Summit Tech Day: Authorization for the Modern World
NYC Identity Summit Tech Day: Authorization for the Modern World
 
Web.dev - Web Privacy and Security Recipe
Web.dev - Web Privacy and Security RecipeWeb.dev - Web Privacy and Security Recipe
Web.dev - Web Privacy and Security Recipe
 
The waf book intro v1.0 lior rotkovitch
The waf book intro v1.0 lior rotkovitchThe waf book intro v1.0 lior rotkovitch
The waf book intro v1.0 lior rotkovitch
 
Kamailio World 2014 - Kamailio - The Platform for Interoperable WebRTC
Kamailio World 2014 - Kamailio - The Platform for Interoperable WebRTCKamailio World 2014 - Kamailio - The Platform for Interoperable WebRTC
Kamailio World 2014 - Kamailio - The Platform for Interoperable WebRTC
 
WebRTC: A front-end perspective
WebRTC: A front-end perspectiveWebRTC: A front-end perspective
WebRTC: A front-end perspective
 
Accelerating breakthrough business technologies in atlanta, tag featured spea...
Accelerating breakthrough business technologies in atlanta, tag featured spea...Accelerating breakthrough business technologies in atlanta, tag featured spea...
Accelerating breakthrough business technologies in atlanta, tag featured spea...
 
Hacking Client Side Insecurities
Hacking Client Side InsecuritiesHacking Client Side Insecurities
Hacking Client Side Insecurities
 
Node summit workshop
Node summit workshopNode summit workshop
Node summit workshop
 
The Big Cloud native FaaS Lebowski
The Big Cloud native FaaS LebowskiThe Big Cloud native FaaS Lebowski
The Big Cloud native FaaS Lebowski
 
Build Collaborative App Using Polymer and Firebase
Build Collaborative App Using Polymer and FirebaseBuild Collaborative App Using Polymer and Firebase
Build Collaborative App Using Polymer and Firebase
 
The end of polling : why and how to transform a REST API into a Data Streamin...
The end of polling : why and how to transform a REST API into a Data Streamin...The end of polling : why and how to transform a REST API into a Data Streamin...
The end of polling : why and how to transform a REST API into a Data Streamin...
 
Amp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesAmp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pages
 
The Fantastic Voyage to PaaS - Are we there yet? (Cloud Foundry Summit 2014)
The Fantastic Voyage to PaaS - Are we there yet? (Cloud Foundry Summit 2014)The Fantastic Voyage to PaaS - Are we there yet? (Cloud Foundry Summit 2014)
The Fantastic Voyage to PaaS - Are we there yet? (Cloud Foundry Summit 2014)
 

Mehr von Peter Moskovits

Goo technologies pres sfhtml5_v1_130529
Goo technologies pres sfhtml5_v1_130529Goo technologies pres sfhtml5_v1_130529
Goo technologies pres sfhtml5_v1_130529
Peter Moskovits
 
Building Living Web Applications with HTML5 WebSockets
Building Living Web Applications with HTML5 WebSocketsBuilding Living Web Applications with HTML5 WebSockets
Building Living Web Applications with HTML5 WebSockets
Peter Moskovits
 
Real Life WebSocket Case Studies and Demos
Real Life WebSocket Case Studies and DemosReal Life WebSocket Case Studies and Demos
Real Life WebSocket Case Studies and Demos
Peter Moskovits
 
Ore dev2011 kaazing_websockets
Ore dev2011 kaazing_websocketsOre dev2011 kaazing_websockets
Ore dev2011 kaazing_websockets
Peter Moskovits
 

Mehr von Peter Moskovits (6)

Liberating the Black Box - Real-Time Communications for the Internet of Things
Liberating the Black Box - Real-Time Communications for the Internet of ThingsLiberating the Black Box - Real-Time Communications for the Internet of Things
Liberating the Black Box - Real-Time Communications for the Internet of Things
 
Goo technologies pres sfhtml5_v1_130529
Goo technologies pres sfhtml5_v1_130529Goo technologies pres sfhtml5_v1_130529
Goo technologies pres sfhtml5_v1_130529
 
Building Living Web Applications with HTML5 WebSockets
Building Living Web Applications with HTML5 WebSocketsBuilding Living Web Applications with HTML5 WebSockets
Building Living Web Applications with HTML5 WebSockets
 
Real Life WebSocket Case Studies and Demos
Real Life WebSocket Case Studies and DemosReal Life WebSocket Case Studies and Demos
Real Life WebSocket Case Studies and Demos
 
Ore dev2011 kaazing_websockets
Ore dev2011 kaazing_websocketsOre dev2011 kaazing_websockets
Ore dev2011 kaazing_websockets
 
Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011
Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011
Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011
 

Kürzlich hochgeladen

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Kürzlich hochgeladen (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 

Connecting Physical Devices to the Web - Event Driven Architecture using WebSocket for the Internet of Things

  • 1. Connecting Physical Devices to the Web Event Driven Architecture using WebSocket for the Internet of Things Peter Moskovits Head of Real-Time Solutions Oslo, September 11, 2014 Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 2. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. About Peter Peter Moskovits Head of Real-Time Solutions peter.moskovits@kaazing.com @pmoskovi
  • 3. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Demos
  • 4. The Request-Response Web Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Browser Half Duplex Full duplex Back-end server Web Web Tier Middleware Legacy Web
  • 5. HTML5 WebSocket: TCP for the Web § Standard Protocol (IETF): RFC-6455 § Standard API (W3C): JavaScript § Single socket, full-duplex § Low overhead: <1% of HTTP § Low latency: low milliseconds § SSL support Full duplex Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 6. The Event-Driven Web WebSocket Full duplex Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Browser Half Duplex Full duplex Back-end server Web Web Tier Middleware Legacy Web Event-Driven Web WebSocket Server Back-end server Web
  • 7. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. How Can I Use?
  • 8. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. How Can I Use?
  • 9. The WebSocket Handshake Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 10. Available in Chrome Developer Tools Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 11. Your application IMAP/SMTP/POP3 XMPP Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Protocol Layering TCP
  • 12. Your application HTTP IMAP/SMTP/POP3 XMPP Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Protocol Layering TCP
  • 13. Your application IMAP/SMTP/POP3 XMPP Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Protocol Layering TCP HTTP WebSocket
  • 14. WebSocket Clients and Server Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 15. Enterprise Messaging Extended to the Web Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 16. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Win a Copy
  • 17. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Win a Copy 1. Introduction to HTML5 WebSocket 2. The WebSocket API 3. The WebSocket Protocol 4. Building Instant Messaging and Chat over WebSocket with XMPP 5. Using Messaging over WebSocket with STOMP 6. VNC with the Remote Frame Buffer Protocol 7. WebSocket Security 8. Deployment Considerations http://goo.gl/xcvj7p
  • 18. Connected Devices Bridging the Gap Between Hardware and Software Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 19. Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Raspberry Pi Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html
  • 20. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Demo Setup
  • 21. Controlling the Light Remotely Using Pub-Sub Over the Web Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 22. Light Switch: Range Extended to the Web Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 23. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Demo
  • 24. Remote Controlling Car Over the Web - The Architecture Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 25. Telemetry Data Distributed to the Web Over Satellite Network KWG Message Broker JMS WS JMS WS Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 26. Telemetry Data Distributed to the Web Over Satellite Network KWG Message Broker JMS WS JMS WS Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 27. Telemetry Data Distributed to the Web Over Satellite Network KWG Message Broker JMS WS JMS WS Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Java App
  • 28. Telemetry Data Distributed to the Web Over Satellite Network KWG Message Broker JMS WS JMS WS Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Java App
  • 29. About the Quadcopter: DJI Phantom 2 Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 30. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. The Sensor Stack
  • 31. Arduino: GPS, thermometer, humidity, compass, accelerometer + Go Pro Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 32. Satellite Terminal: InmarSat – Geostationary Satellites Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 33. Satellite Terminal: InmarSat – Geostationary Satellites Warning: Microwave radiation Minimum safe distance: 0.6 metres Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 34. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. The Team
  • 35. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. DEMO
  • 36. End-to-end latency: under 1 second Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 37. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. DEMO
  • 38. It’s More Than “Just” the Web Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 39. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Connected Devices
  • 40. Connected Devices Communicating with WebSocket WS WS WS WS WS WS WS WS WS Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 41. Connected Devices Communicating with Proprietary Protocols over WS AMQP/WS MQTT/WS JMS/WS XMPP/WS STOMP/WS Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
  • 42. What Does KAAZING do? Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Clients disconnect Network intermediaries Locked down firewalls Millions of users High availability Disaster recovery Developer productivity Integration with existing security infrastructure
  • 43. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Win a Copy 1. Introduction to HTML5 WebSocket 2. The WebSocket API 3. The WebSocket Protocol 4. Building Instant Messaging and Chat over WebSocket with XMPP 5. Using Messaging over WebSocket with STOMP 6. VNC with the Remote Frame Buffer Protocol 7. WebSocket Security 8. Deployment Considerations http://goo.gl/xcvj7p
  • 44. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. Learn More § http://kaazing.com § http://tutorial.kaazing.com § http://kaazing.com/telemetry § The Definitive Guide to HTML5 WebSocket
  • 45. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved. About Peter Peter Moskovits Head of Real-Time Solutions peter.moskovits@kaazing.com @pmoskovi
  • 46. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.