SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
WebSocket Perspectives
Past, Present and Future
The State of the Stateful
Frank Greco
Director of Technology
frank.greco@kaazing.com
© 2014 Kaazing Corporation. All Rights Reserved.
Speakers
Kevin Hoyt
Principal Evangelist
Email: kevin.hoyt@kaazing.com
Twitter: @krhoyt
Frank Greco
Director of Technology
NYJavaSIG/NYHTML5 Chair
Email: frank.greco@kaazing.com
Twitter: @frankgreco
Yell: “Hey Frank!”
© 2014 Kaazing Corporation. All Rights Reserved.
History
History
© 2014 Kaazing Corporation. All Rights Reserved.
Speakers
In the beginning…
© 2014 Kaazing Corporation. All Rights Reserved.
Enterprise – “inside the firewall” (1980’s – early 90’s)
Client-Server
tcp
© 2014 Kaazing Corporation. All Rights Reserved.
Web – “over the firewall” (early 90’s – 2011)
tcp
http
web server
app protocols
Not optimal for event-based systems
Lovable hacks – AJAX/Comet
© 2014 Kaazing Corporation. All Rights Reserved.
WebSocket
§  W3C API and IETF Protocol (RFC 6455) – Dec 2011
-  Submitted 2007 to IETF
-  Event-driven JavaScript API
-  Full-duplex communication protocol (single bidirectional pipe)
§  Integrates HTTP addressing
-  ws://yourcompany.com/collaboration_svc
-  wss://anothercompany.com/marketdata_svc
§  Traverses Firewall
§  Text and Binary
§  Useful for Event-Based, Reactive (ECA) Systems
© 2014 Kaazing Corporation. All Rights Reserved.
Legacy HTTP vs WebSocket
For Event-based Web Communication…
http:// ws://
Application-level Socket over the Web
Supported by all Modern Browsers
Event-based Applications
© 2014 Kaazing Corporation. All Rights Reserved.
WebSocket
TCP/IP
JMS XMPP AMQP B2B CoAP VNC MQTT etc
Browser and Native Applications
WebSocket
Gateway
Internet
WebSocket
Gateway
Protocol Layering with WebSocket
Services
© 2014 Kaazing Corporation. All Rights Reserved.
Futures
What’s next for WebSocket?
© 2014 Kaazing Corporation. All Rights Reserved.
Futures
Internet of Things (IoT)
+
Heterogeneity + Scale + Usability
© 2014 Kaazing Corporation. All Rights Reserved.
Event-based (“real-time”) Systems
Communication
Presentation Music
Logistics
Big
Data
Risk
Management
Home
Security
Health
Monitoring
Intelligent
Appliances
Local
Transportation
Monitoring/
Management
Remote
control
© 2014 Kaazing Corporation. All Rights Reserved.
© 2014 Kaazing Corporation. All Rights Reserved.
§  Internet – Global system of interconnected networks that
use IP to communicate
§  Internetworking – Connecting one network with another
through a series of Gateways that provide a common
method of communication
Let’s take 1 step back to go 2 steps ahead…
© 2014 Kaazing Corporation. All Rights Reserved.
§  A popular application service on the Internet
§  Based on TCP/IP
§  Advantages
§  Application deployment simplified – URI
§  Interoperable open standards and specifications
§  Ease of programmability – scripting
§  Global reach and Economy of scale
§  Accessed by ubiquitous Browsers and also non-Browsers
§  Two major protocols
-  HTTP (1988/1999) and WebSocket (2007/2011)
The Web
© 2014 Kaazing Corporation. All Rights Reserved.
§  A riff on “Ubiquitous Computing” (also “Pervasive”)
-  Mark Weisner PARC 1988
§  Its early so there’s different definitions
-  similar to early days of Cloud Computing
§  M2M has been around for decades. Primarily proprietary
embedded systems and typically point-to-point (RPC)
§  IoT/IIoT (Industrial IoT)
-  Adds Internet connectivity
-  Networks of M2M systems connected via IP
Now… IoT, IIoT and M2M
© 2014 Kaazing Corporation. All Rights Reserved.
§  No formal API standards
§  Many protocol standards – interoperability low
§  No common, wide-reaching frameworks
§  No composition possibilities
§  Difficult to leverage economies of scale
§  Barrier to entry is high for millions of app developers
§  Also… we’re in a cloud, mobile, web api world
IoT/IIoT – Connectivity isn’t Sufficient
© 2014 Kaazing Corporation. All Rights Reserved.
§  IoT – Internet of Things
-  Embedded computing endowed with Internet connectivity
§  WoT – Web of Things
-  Application and Services layer over IoT
§  Apply the benefits of the Web to IoT
§  WoT is a uniform interface to access IoT functionality
§  Provides the abstraction for control/monitoring (sensors/actuators)
§  Accelerates innovation
§  Deployment, development, interoperability, economy of scale…
Here’s where the Web comes in
IoT
WoT
Developers!
© 2014 Kaazing Corporation. All Rights Reserved.
Higher Level APIs Reduces Complexity
Simplicity is a
Useful
Abstraction!
Simplicity enables
Innovation
Complexity
Innovation
© 2014 Kaazing Corporation. All Rights Reserved.
But Is HTTP the Right Choice?
l  Disadvantages of HTTP Request/Response
l  Lack of resiliency and robustness
l  Enterprise events retrieved by resource intensive polling
techniques
u  Much bandwidth is wasted
u  Information can be delayed
l  Composite services brittle and lack transactionality
l  Enterprises learned advantages of ESB 10+ years ago
l  See failures of CORBA, Sun RPC, etc.
l  Clumsy AJAX/Comet workarounds to simulate real-time
© 2014 Kaazing Corporation. All Rights Reserved.
History Repeats Itself
RPC
Asynchronous
RPC
Messaging
Enterprise Web/WoT
REST
Asynchronous
REST
Messaging
•  Can wait for response
•  Tight coupling
•  Centralized business
processes
•  Vertical interaction
•  Easy to understand (xact)
•  Future response
•  Loose coupling
•  Independent business
processes
•  More complexity (xact)
Did I mention History repeats itself?...
ESB ISB
© 2014 Kaazing Corporation. All Rights Reserved.
The Message is the Medium
“…terse, self-classified
messages, networking overhead
isolated to a specialized tier of
devices, and publish/subscribe
relationships are the only way to
fully distill the power of the
coming Internet of Things” –
Francis daCosta
© 2014 Kaazing Corporation. All Rights Reserved.
Data flow – Human Web vs WoT
Typically an App
Server and DB
App Server is
probably not the
right architecture
Human
Web
WoT
Large data to client
Small data to server
© 2014 Kaazing Corporation. All Rights Reserved.
Event Gateway Architecture
GW
GW
GW
IoT/IIoT
WoT
WoT
WoT
© 2014 Kaazing Corporation. All Rights Reserved.
Event Gateway Architecture – Future Directions
GW
GW
GW
GW
GW
GW
GW
Aggregator nodes
•  Scalability
•  Querying
•  Performance
•  Manageability
•  Composition
•  Circles of Trust
•  CDN++
© 2014 Kaazing Corporation. All Rights Reserved.
Click to Edit Master Title Style
Demos
© 2014 Kaazing Corporation. All Rights Reserved.
Thank You!

Weitere ähnliche Inhalte

Was ist angesagt?

Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015
Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015
Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015Rich Cullen
 
Connecting Physical Devices to the Web - Event Driven Architecture using WebS...
Connecting Physical Devices to the Web - Event Driven Architecture using WebS...Connecting Physical Devices to the Web - Event Driven Architecture using WebS...
Connecting Physical Devices to the Web - Event Driven Architecture using WebS...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 DemosPeter Moskovits
 
vlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets Presentationvlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets PresentationVolodymyr Lavrynovych
 
Blockchain as a Service and Hyperledger in 15 Minutes
Blockchain as a Service and Hyperledger in 15 MinutesBlockchain as a Service and Hyperledger in 15 Minutes
Blockchain as a Service and Hyperledger in 15 MinutesStefania Kaczmarczyk
 
WebGL and Real-Time Web Communication
WebGL and Real-Time Web CommunicationWebGL and Real-Time Web Communication
WebGL and Real-Time Web CommunicationPeter Moskovits
 
Getting Started with WebSocket and Server-Sent Events in Java
Getting Started with WebSocket and Server-Sent Events in JavaGetting Started with WebSocket and Server-Sent Events in Java
Getting Started with WebSocket and Server-Sent Events in JavaArun Gupta
 
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)Jollen Chen
 
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 ThingsPeter Moskovits
 
Apache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxApache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxPaul Fremantle
 
Getting Started with WebSockets and Server-Sent Events
Getting Started with WebSockets and Server-Sent EventsGetting Started with WebSockets and Server-Sent Events
Getting Started with WebSockets and Server-Sent EventsArun Gupta
 
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!Masoud Kalali
 
Succeding with the Apache SOA stack
Succeding with the Apache SOA stackSucceding with the Apache SOA stack
Succeding with the Apache SOA stackJohan Edstrom
 
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to KnowThe Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to KnowRevelation Technologies
 
JanusCon - Building Native Mobile Apps with WebRTC
JanusCon - Building Native Mobile Apps with WebRTCJanusCon - Building Native Mobile Apps with WebRTC
JanusCon - Building Native Mobile Apps with WebRTCDan Jenkins
 
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...Revelation Technologies
 

Was ist angesagt? (20)

Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015
Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015
Top 10 real life WebSocket use cases & experiences - Devoxx UK 2015
 
Connecting Physical Devices to the Web - Event Driven Architecture using WebS...
Connecting Physical Devices to the Web - Event Driven Architecture using WebS...Connecting Physical Devices to the Web - Event Driven Architecture using WebS...
Connecting Physical Devices to the Web - Event Driven Architecture using WebS...
 
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
 
vlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets Presentationvlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets Presentation
 
The HTML5 WebSocket API
The HTML5 WebSocket APIThe HTML5 WebSocket API
The HTML5 WebSocket API
 
J web socket
J web socketJ web socket
J web socket
 
Blockchain as a Service and Hyperledger in 15 Minutes
Blockchain as a Service and Hyperledger in 15 MinutesBlockchain as a Service and Hyperledger in 15 Minutes
Blockchain as a Service and Hyperledger in 15 Minutes
 
WebGL and Real-Time Web Communication
WebGL and Real-Time Web CommunicationWebGL and Real-Time Web Communication
WebGL and Real-Time Web Communication
 
Getting Started with WebSocket and Server-Sent Events in Java
Getting Started with WebSocket and Server-Sent Events in JavaGetting Started with WebSocket and Server-Sent Events in Java
Getting Started with WebSocket and Server-Sent Events in Java
 
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
 
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
 
HTML5 ADEO
HTML5 ADEOHTML5 ADEO
HTML5 ADEO
 
Apache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and EquinoxApache Stratos - Building a PaaS using OSGi and Equinox
Apache Stratos - Building a PaaS using OSGi and Equinox
 
Getting Started with WebSockets and Server-Sent Events
Getting Started with WebSockets and Server-Sent EventsGetting Started with WebSockets and Server-Sent Events
Getting Started with WebSockets and Server-Sent Events
 
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!
 
Succeding with the Apache SOA stack
Succeding with the Apache SOA stackSucceding with the Apache SOA stack
Succeding with the Apache SOA stack
 
Grizzly 20080925 V2
Grizzly 20080925 V2Grizzly 20080925 V2
Grizzly 20080925 V2
 
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to KnowThe Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
 
JanusCon - Building Native Mobile Apps with WebRTC
JanusCon - Building Native Mobile Apps with WebRTCJanusCon - Building Native Mobile Apps with WebRTC
JanusCon - Building Native Mobile Apps with WebRTC
 
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
 

Ähnlich wie 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 2014Frank Greco
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of ThingsFrank Greco
 
Upperside Webinar- WebRTC from the service provider prism-final
Upperside Webinar- WebRTC from the service provider prism-finalUpperside Webinar- WebRTC from the service provider prism-final
Upperside Webinar- WebRTC from the service provider prism-finalAmir Zmora
 
The WebRTC Continuum - The Next Wave
The WebRTC Continuum - The Next WaveThe WebRTC Continuum - The Next Wave
The WebRTC Continuum - The Next WaveWebRTCConferenceJapan
 
Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++Alan Quayle
 
WebRTC from the service provider prism
WebRTC from the service provider prismWebRTC from the service provider prism
WebRTC from the service provider prismVictor Pascual Ávila
 
Webrtc workshop from Alan Quayle
Webrtc workshop from Alan QuayleWebrtc workshop from Alan Quayle
Webrtc workshop from Alan QuayleAlan Quayle
 
WebRTC Workshop - What is (and isn't WebRTC)
WebRTC Workshop - What is (and isn't WebRTC)WebRTC Workshop - What is (and isn't WebRTC)
WebRTC Workshop - What is (and isn't WebRTC)Oracle
 
Workshop web rtc customers and use cases
Workshop web rtc customers and use casesWorkshop web rtc customers and use cases
Workshop web rtc customers and use casesDouglas Tait
 
Node summit workshop
Node summit workshopNode summit workshop
Node summit workshopShubhra Kar
 
Make the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourceMake the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourcePerfecto by Perforce
 
The impact of IOT - exchange cala - 2015
The impact of IOT - exchange cala - 2015The impact of IOT - exchange cala - 2015
The impact of IOT - exchange cala - 2015Eduardo Pelegri-Llopart
 
Webrtc Technology overview and Business Opportunity
Webrtc Technology overview and Business OpportunityWebrtc Technology overview and Business Opportunity
Webrtc Technology overview and Business OpportunityKen Workun
 
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)Peter Lubbers
 
EMC's IT Transformation Journey ( EMC Forum 2014 )
EMC's IT Transformation Journey ( EMC Forum 2014 )EMC's IT Transformation Journey ( EMC Forum 2014 )
EMC's IT Transformation Journey ( EMC Forum 2014 )EMC
 

Ähnlich wie Past, Present and Future of WebSocket - HTML5DevConf May 2014 (20)

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
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of Things
 
Upperside Webinar- WebRTC from the service provider prism-final
Upperside Webinar- WebRTC from the service provider prism-finalUpperside Webinar- WebRTC from the service provider prism-final
Upperside Webinar- WebRTC from the service provider prism-final
 
The WebRTC Continuum - The Next Wave
The WebRTC Continuum - The Next WaveThe WebRTC Continuum - The Next Wave
The WebRTC Continuum - The Next Wave
 
Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++Status of WebRTC across Asia by Alan Quayle +++
Status of WebRTC across Asia by Alan Quayle +++
 
WebRTC from the service provider prism
WebRTC from the service provider prismWebRTC from the service provider prism
WebRTC from the service provider prism
 
Webrtc workshop from Alan Quayle
Webrtc workshop from Alan QuayleWebrtc workshop from Alan Quayle
Webrtc workshop from Alan Quayle
 
WebRTC Workshop - What is (and isn't WebRTC)
WebRTC Workshop - What is (and isn't WebRTC)WebRTC Workshop - What is (and isn't WebRTC)
WebRTC Workshop - What is (and isn't WebRTC)
 
Workshop web rtc customers and use cases
Workshop web rtc customers and use casesWorkshop web rtc customers and use cases
Workshop web rtc customers and use cases
 
Node summit workshop
Node summit workshopNode summit workshop
Node summit workshop
 
DevCon5 (July 2014) - Intro to WebRTC
DevCon5 (July 2014) - Intro to WebRTCDevCon5 (July 2014) - Intro to WebRTC
DevCon5 (July 2014) - Intro to WebRTC
 
Node.js as an IOT Bridge
Node.js as an IOT BridgeNode.js as an IOT Bridge
Node.js as an IOT Bridge
 
Make the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourceMake the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open Source
 
IOT - Presentation to PEP @ Progress
IOT - Presentation to PEP @ ProgressIOT - Presentation to PEP @ Progress
IOT - Presentation to PEP @ Progress
 
WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)
WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)
WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)
 
The impact of IOT - exchange cala - 2015
The impact of IOT - exchange cala - 2015The impact of IOT - exchange cala - 2015
The impact of IOT - exchange cala - 2015
 
Webrtc Technology overview and Business Opportunity
Webrtc Technology overview and Business OpportunityWebrtc Technology overview and Business Opportunity
Webrtc Technology overview and Business Opportunity
 
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
 
WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)
WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)
WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)
 
EMC's IT Transformation Journey ( EMC Forum 2014 )
EMC's IT Transformation Journey ( EMC Forum 2014 )EMC's IT Transformation Journey ( EMC Forum 2014 )
EMC's IT Transformation Journey ( EMC Forum 2014 )
 

Kürzlich hochgeladen

Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...aditipandeya
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Kürzlich hochgeladen (20)

Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 

Past, Present and Future of WebSocket - HTML5DevConf May 2014

  • 1. WebSocket Perspectives Past, Present and Future The State of the Stateful Frank Greco Director of Technology frank.greco@kaazing.com
  • 2. © 2014 Kaazing Corporation. All Rights Reserved. Speakers Kevin Hoyt Principal Evangelist Email: kevin.hoyt@kaazing.com Twitter: @krhoyt Frank Greco Director of Technology NYJavaSIG/NYHTML5 Chair Email: frank.greco@kaazing.com Twitter: @frankgreco Yell: “Hey Frank!”
  • 3. © 2014 Kaazing Corporation. All Rights Reserved. History History
  • 4. © 2014 Kaazing Corporation. All Rights Reserved. Speakers In the beginning…
  • 5. © 2014 Kaazing Corporation. All Rights Reserved. Enterprise – “inside the firewall” (1980’s – early 90’s) Client-Server tcp
  • 6. © 2014 Kaazing Corporation. All Rights Reserved. Web – “over the firewall” (early 90’s – 2011) tcp http web server app protocols Not optimal for event-based systems Lovable hacks – AJAX/Comet
  • 7. © 2014 Kaazing Corporation. All Rights Reserved. WebSocket §  W3C API and IETF Protocol (RFC 6455) – Dec 2011 -  Submitted 2007 to IETF -  Event-driven JavaScript API -  Full-duplex communication protocol (single bidirectional pipe) §  Integrates HTTP addressing -  ws://yourcompany.com/collaboration_svc -  wss://anothercompany.com/marketdata_svc §  Traverses Firewall §  Text and Binary §  Useful for Event-Based, Reactive (ECA) Systems
  • 8. © 2014 Kaazing Corporation. All Rights Reserved. Legacy HTTP vs WebSocket For Event-based Web Communication… http:// ws:// Application-level Socket over the Web Supported by all Modern Browsers Event-based Applications
  • 9. © 2014 Kaazing Corporation. All Rights Reserved. WebSocket TCP/IP JMS XMPP AMQP B2B CoAP VNC MQTT etc Browser and Native Applications WebSocket Gateway Internet WebSocket Gateway Protocol Layering with WebSocket Services
  • 10. © 2014 Kaazing Corporation. All Rights Reserved. Futures What’s next for WebSocket?
  • 11. © 2014 Kaazing Corporation. All Rights Reserved. Futures Internet of Things (IoT) + Heterogeneity + Scale + Usability
  • 12. © 2014 Kaazing Corporation. All Rights Reserved. Event-based (“real-time”) Systems Communication Presentation Music Logistics Big Data Risk Management Home Security Health Monitoring Intelligent Appliances Local Transportation Monitoring/ Management Remote control
  • 13. © 2014 Kaazing Corporation. All Rights Reserved.
  • 14. © 2014 Kaazing Corporation. All Rights Reserved. §  Internet – Global system of interconnected networks that use IP to communicate §  Internetworking – Connecting one network with another through a series of Gateways that provide a common method of communication Let’s take 1 step back to go 2 steps ahead…
  • 15. © 2014 Kaazing Corporation. All Rights Reserved. §  A popular application service on the Internet §  Based on TCP/IP §  Advantages §  Application deployment simplified – URI §  Interoperable open standards and specifications §  Ease of programmability – scripting §  Global reach and Economy of scale §  Accessed by ubiquitous Browsers and also non-Browsers §  Two major protocols -  HTTP (1988/1999) and WebSocket (2007/2011) The Web
  • 16. © 2014 Kaazing Corporation. All Rights Reserved. §  A riff on “Ubiquitous Computing” (also “Pervasive”) -  Mark Weisner PARC 1988 §  Its early so there’s different definitions -  similar to early days of Cloud Computing §  M2M has been around for decades. Primarily proprietary embedded systems and typically point-to-point (RPC) §  IoT/IIoT (Industrial IoT) -  Adds Internet connectivity -  Networks of M2M systems connected via IP Now… IoT, IIoT and M2M
  • 17. © 2014 Kaazing Corporation. All Rights Reserved. §  No formal API standards §  Many protocol standards – interoperability low §  No common, wide-reaching frameworks §  No composition possibilities §  Difficult to leverage economies of scale §  Barrier to entry is high for millions of app developers §  Also… we’re in a cloud, mobile, web api world IoT/IIoT – Connectivity isn’t Sufficient
  • 18. © 2014 Kaazing Corporation. All Rights Reserved. §  IoT – Internet of Things -  Embedded computing endowed with Internet connectivity §  WoT – Web of Things -  Application and Services layer over IoT §  Apply the benefits of the Web to IoT §  WoT is a uniform interface to access IoT functionality §  Provides the abstraction for control/monitoring (sensors/actuators) §  Accelerates innovation §  Deployment, development, interoperability, economy of scale… Here’s where the Web comes in IoT WoT Developers!
  • 19. © 2014 Kaazing Corporation. All Rights Reserved. Higher Level APIs Reduces Complexity Simplicity is a Useful Abstraction! Simplicity enables Innovation Complexity Innovation
  • 20. © 2014 Kaazing Corporation. All Rights Reserved. But Is HTTP the Right Choice? l  Disadvantages of HTTP Request/Response l  Lack of resiliency and robustness l  Enterprise events retrieved by resource intensive polling techniques u  Much bandwidth is wasted u  Information can be delayed l  Composite services brittle and lack transactionality l  Enterprises learned advantages of ESB 10+ years ago l  See failures of CORBA, Sun RPC, etc. l  Clumsy AJAX/Comet workarounds to simulate real-time
  • 21. © 2014 Kaazing Corporation. All Rights Reserved. History Repeats Itself RPC Asynchronous RPC Messaging Enterprise Web/WoT REST Asynchronous REST Messaging •  Can wait for response •  Tight coupling •  Centralized business processes •  Vertical interaction •  Easy to understand (xact) •  Future response •  Loose coupling •  Independent business processes •  More complexity (xact) Did I mention History repeats itself?... ESB ISB
  • 22. © 2014 Kaazing Corporation. All Rights Reserved. The Message is the Medium “…terse, self-classified messages, networking overhead isolated to a specialized tier of devices, and publish/subscribe relationships are the only way to fully distill the power of the coming Internet of Things” – Francis daCosta
  • 23. © 2014 Kaazing Corporation. All Rights Reserved. Data flow – Human Web vs WoT Typically an App Server and DB App Server is probably not the right architecture Human Web WoT Large data to client Small data to server
  • 24. © 2014 Kaazing Corporation. All Rights Reserved. Event Gateway Architecture GW GW GW IoT/IIoT WoT WoT WoT
  • 25. © 2014 Kaazing Corporation. All Rights Reserved. Event Gateway Architecture – Future Directions GW GW GW GW GW GW GW Aggregator nodes •  Scalability •  Querying •  Performance •  Manageability •  Composition •  Circles of Trust •  CDN++
  • 26. © 2014 Kaazing Corporation. All Rights Reserved. Click to Edit Master Title Style Demos
  • 27. © 2014 Kaazing Corporation. All Rights Reserved. Thank You!