WebGL and Real-Time Web Communication

Post on 15-Jan-2015

297 views 9 download

Tags:

description

Kaazing and Goo presentation at QCon London in March 2014.

Transcript of WebGL and Real-Time Web Communication

© 2014 Kaazing Corporation. All Rights Reserved. 1

Victor Sand Software Engineer Peter Moskovits Head of Real-Time Solutions Mar 5, 2014

© 2014 Kaazing Corporation. All Rights Reserved.

About Us

Peter Moskovits Head of Real-Time Solutions peter.moskovits@kaazing.com @pmoskovi

Victor Sand Software Engineer victor@gootechnologies.com www.gootechnologies.com @vlgsand

������������

����������� ���������������

�����������������

�������!��������"#����

����� ��������������������$%%"""��������%�#�%

������������

��$%%"""�����&��'����&������&%

��$%%"""������������������&%���"����%

��������������������������������������� �

��������"�(����

��&�����������

�����

��������

)�������

����������

����������������

������������ ���������

������������� ���������������*

����"�+��������

,���!����-����"������

���������

��$%%��+��������������&%�����������

��$%%��+��������������&%����#%��������!�%

)��)!������&����#.����

������������������������ ��������/����

� ���������������������������������� �����

�������� �

��$%%�����������������������&

�������������������������

���� ���������� ��

����!������+��$

��$%%"""������������������&

���������������������

��������������������������������

�������������������������������

���� ������������

��������������

0�����������-.����$

��$%%"""������������������&%�����1+�#

© 2014 Kaazing Corporation. All Rights Reserved.

Demos

3

© 2014 Kaazing Corporation. All Rights Reserved.

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

5 5

Browser Web Tier

Half Duplex Full duplex

Back-end server Middleware

Web

Legacy Web

Back-end server

WebSocket

WebSocket Server

Full duplex

Web

Living Web

© 2014 Kaazing Corporation. All Rights Reserved.

Protocol Layering

TCP

JMS XMPP AMQP B2B FTP VNC mktdata etc

Browsers, Native Applications and IoT Devices

WebSocket Gateway

Internet

WebSocket Gateway

© 2014 Kaazing Corporation. All Rights Reserved.

WebSocket Clients and Server

7

© 2014 Kaazing Corporation. All Rights Reserved.

Enterprise Messaging Extended to the Web

8

© 2014 Kaazing Corporation. All Rights Reserved.

Raspberry Pi

Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html

© 2014 Kaazing Corporation. All Rights Reserved.

Demo Setup

© 2014 Kaazing Corporation. All Rights Reserved.

Controlling the Light Remotely Using Pub-Sub Over the Web

© 2014 Kaazing Corporation. All Rights Reserved.

The Web Bridges Continents

12

© 2014 Kaazing Corporation. All Rights Reserved.

Demo

13

© 2014 Kaazing Corporation. All Rights Reserved.

The Architecture

© 2014 Kaazing Corporation. All Rights Reserved.

It’s More than “Just” the Web

15

© 2014 Kaazing Corporation. All Rights Reserved.

The Web of Things

© 2014 Kaazing Corporation. All Rights Reserved.

WebSocket Powering the Web of Things

WS

WS

WS WS WS WS

WS

WS

WS

© 2014 Kaazing Corporation. All Rights Reserved.

Extending Protocols to the Web of Things

MQTT/WS

AMQP/WS

JMS/WS STOMP/WS

XMPP/WS

© 2014 Kaazing Corporation. All Rights Reserved.

Web Communication Is Challenging

Clients disconnect

Network intermediaries

Locked down firewalls

Millions of users

High availability

Disaster recovery

Developer productivity

Integration with existing

security infrastructure

© 2014 Kaazing Corporation. All Rights Reserved.

Demos

20

© 2014 Kaazing Corporation. All Rights Reserved.

Find Out More

!  The Zinger – Blog:

!  http://blog.kaazing.com

!  JMS WebSocket Tutorial

!  http://tutorial.kaazing.com

!  More developer content

!  http://developer.kaazing.com

!  Free product download

21

© 2014 Kaazing Corporation. All Rights Reserved.

Kaazing at QCon

Visit Kaazing in the Power Lounge to see all these demos live

Win a mini Jambox

© 2014 Kaazing Corporation. All Rights Reserved.

!  http://tinyurl.com/gootech-qcon

!  Goo Create Beta: http://gootechnologies.com

!  Live Demos: http://gootechnologies.com/showcase

!  http://kaazing.com

!  http://tutorial.kaazing.com

!  Kaazing Blog: Extreme HTML5 Video Interactivity: Sending WebSocket Messages with Popcorn.js

!  The Definitive Guide to HTML5 WebSocket

Learn More

© 2014 Kaazing Corporation. All Rights Reserved.

How to Get a Hold of Us?

Peter Moskovits Head of Real-Time Solutions peter.moskovits@kaazing.com @pmoskovi

Victor Sand Senior Software Engineer victor@gootechnologies.com www.gootechnologies.com @vlgsand

© 2014 Kaazing Corporation. All Rights Reserved.

The End