SlideShare a Scribd company logo
WebSocket
  May 2011
http://j.mp/ws201105
MiCHiLU Lab.
ENDOH takanao
- WebSocket

• HTML5 WebSocket
• HTTP
• WebSocket
• WebSocket
HTML5


•             •
•   CSS3      •
•             •
•   3D
              •
WebSocket



•
•
HTTP
HTTP

• WebSocket
 •
 • HTTP
• HTTP
HTTP

GET / HTTP/1.1
Host: www.google.com
                      $ curl -s -I example.com
Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.775.0 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: rememberme=false; MPRF=H4sIAAAAAAAAAKuYtXb9nR2qXUwMk5gUDNNMk8wtTZIMEg2NjFOMU0yTUywN05IMzdPM0yws05InMDMAABefN-8wAAAA;
PREF=ID=653bb17b4ad20ad7:U=887195970e2d3eb5:FF=0:LD=en:CR=2:TM=1250890880:LM=1304905016:DV=0SJoub_nzRUL:GM=1:IG=1:S=kWAnK24xLbFo-jxX; W6D=v4=0:ds=0:w=2:l=-31:q=0; HSID=AxXj866eb-z3QfZ4Q;
NID=47=e1fmnO_gdNKpOe3AERa5ZSlvWgKw7T0mmRkMeSli_N5kWzcqZQyyPMRyuSToMxmJEjnua6aKs_hXQLVc9tC0NxrD9bM0Mqv86KCB2k11nEHTh4C5XxpR4X-PGdA_oSMi;
SID=DQAAALcAAADTFk3fw4CcpvqpVTcbVYWSqDyAvudcrM-GIHt2vShGFDXH2PGTWZBlq4628zvGoP7yDxhPRsFTZXGnfYj-bu_3w3b_l61p_S3Go8J3Wh-N-
WCW8DCjjjcv9bqETKUDvtwaZzqKyU6ye0Ld2f8Nxp9YZxwHQPvSduH4wQvvdurak7aXo2xUKXoiqAov_-Atji7e_SIBKJDrTU-VqmXZHS4KTCL0K1vIT0iFehK9nmaRUL307wnKk4bmh7zL_b2uId0
Response Headersview source


HTTP/1.1 200 OK
Date: Fri, 27 May 2011 21:46:44 GMT
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA
PRE LOC GOV"
Cache-Control: private
Set-Cookie: IU=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=.yahoo.com
Set-Cookie: PH=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=.yahoo.com
Set-Cookie: fpc=d=G75aLUu.NPfNbZzOg.
47Us20ZTCutR.KpApGu3mOolSb7SNlhBpa.a2oaaJDzdGgP5Biued0sro2GrlcilwwRJruZtlFt_9Fpfu7SCWvyi161wFpsd2ZVI_ZG1AKS0EuowFpZQ0FfZqdGM9a7ax.h161HiH7CAt7kDFa3hx1VhejB0fNlBKj.AWgu7rJuCqozntl8zw-&v=2;
expires=Sat, 26-May-2012 21:46:44 GMT; path=/; domain=www.yahoo.com
Set-Cookie: FPCK3=AgBN4BsQAEktEABvHxAAS2EQAHhsEAB/XhAAb40=; expires=Sun, 26-Jun-2011 21:46:44 GMT; path=/; domain=www.yahoo.com
Set-Cookie: CH=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=www.yahoo.com
Set-Cookie: CH=AgBN4BsQAAQTEAA+eRAAOiIQAAn9EAAvBxAAEtoQABGqEAAHHxAAEKoQACy2; expires=Sun, 26-Jun-2011 21:46:44 GMT; path=/; domain=.yahoo.com
Set-Cookie:
fpt=d=eR.Dl3vXetYLbqr2P7..4xZDmTBBzdottQIdBXSs3r8SLBfgiVTa7rISq1pLZVVjiXAws85WakFIo9RFSx_lkmXmGfrjXGutPT6bsOAu9WEDJ1QLxWh_KoKwp4i9sKrUkgUs8zQli3lGSuaHlJiR5.QiMa1k4cgmZb8wqbAAFgBvGEhYVwmBOmZ2V
Jvk3ZCKchfEq.Glx9YW8G5a5RbRcJaGVHiIWLafFQTkOJzLhnuK0ct3OdXdxz1uZmS9rdHDrl4YkugI1OdS6.WJgEyomOa6umMvEcZEsYYua61deTKJnMd4UqBhye4xg689m5NYZAMRaWILM9U5XRF6EPVmSqYkH61HiEIk.sRsV9PYLlTM.
1.I5BpvLDJ42d91ghnBXX27LptVD6JOaOodAFDq6alO6.Hh.zSpZ1848i3BiSsef_8ABsv3bF7yM3uVlVKJVlHGG48YRjXEVdJlqiHB3oW1U3v9obaD1_KGBuN7cAwTiF8D&v=1; path=/; domain=www.yahoo.com
Set-Cookie: fpps=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=www.yahoo.com
Set-Cookie:
fpc_s=d=r8kXI22.NPd40D_h17R7s6P7BIHxIzc8tUfiPcqP9ygyB1LenxjHEPWRU1jKxojQPhaxlaBudV5WX0XpC3kRbWGNy4SSL31QI0RnLw586JbcayLy.wNw66UyxmGg69UjaKOHMpf2F7jrW2gwenHcTuTDLeaSjcoKKwAT_WQCFRZgDcrl4Hu
EFyQsBXamT5Qg_1bx3C3N0PDpjJEPQNEKDP.qwoh1.5pQ5qGqs.2hlHIAG6RYDjsHkR9.ChQCp90ZXHmMOCP8pD0Ro3sNecnL612GJO4KBxIm5o1JxFWt4VWrlLk01.eSxFnO4x0-&v=2; path=/; domain=www.yahoo.com
Vary: Accept-Encoding
Content-Type: text/html;charset=utf-8
Age: 0
Connection: keep-alive
Server: YTS/1.20.0

HELLO WORLD
HTTP

•   $ curl -s -I example.com|wc
                   -c
• www.google.co.jp
  • 609
• www.yahoo.com
  • 2265
HTTP
                80


                60


                40

10              20


  80MB           0
                     1,000 10,000 100,000
HTTP
                           In-band       Out-band
                  40,000

10
                  30,000

     1
                  20,000

Amazon EC2        10,000


     300              0
                            1,000 10,000 100,000
WebSocket
•

•   Ajax Polling

• Long Polling
• Comet
Web
WebSocket
•
•
•
•
•
•
•
•
    Rawkets

•
•
•
•
    Multiuser Sketchpad

•
•
•
•
    kaazing.me

•
•
•
•
WebSocket


•   Pusher


•   kaazing
Pusher

•            HTTP POST

•
kaazing

•
•
• XMPP
• AMQP
WebSocket
WebSocket

1. Google Chrome


2.

3.
WebSocket
1. Network

2. WebSocket
WebSocket
WebSocket
•
    •       F1

•
    •
•
    •
MiCHiLU Lab.
MiCHiLU Lab.


Shirasu.ws
WebSocket
MiCHiLU Lab.

ws-x.com
WebSocket eXchange
2012
WebSocket.JP

WebSocket
OSC2011 Kansai@Kyoto


      7/15( )
MiCHiLU Lab.


michilu.com/products
AppFrontend
OneTalk
http://j.mp/ws201105
WebSocket.JP
http://websocket.jp
@WebSocket_
http://twitter.com/WebSocket_
Shirasu.ws
http://shirasu.ws
WebSocket - May 2011

More Related Content

What's hot

WordPress for SysAdmins
WordPress for SysAdminsWordPress for SysAdmins
WordPress for SysAdmins
Javier Arturo Rodríguez
 
Faster Frontends
Faster FrontendsFaster Frontends
Faster Frontends
Andy Davies
 
Rongjun Mu Blog & Microblogging
Rongjun Mu Blog & MicrobloggingRongjun Mu Blog & Microblogging
Rongjun Mu Blog & MicrobloggingYuancheng Yang
 
Linux Hardening - Made Easy
Linux Hardening - Made EasyLinux Hardening - Made Easy
Linux Hardening - Made Easy
Guy Barnhart-Magen
 
Ilugc curl
Ilugc curlIlugc curl
Ilugc curl
Akilan Ram
 
Vulpes tribes backend
Vulpes tribes backendVulpes tribes backend
Vulpes tribes backend
Jiří Soušek
 
Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013
zanthrash
 
Katchum
KatchumKatchum
Katchum
Caio Tarifa
 
Node in the Cloud
Node in the CloudNode in the Cloud
Node in the Cloud
Sondre Bjellås
 
It assist servicii it powered by linux
It assist   servicii it powered by linuxIt assist   servicii it powered by linux
It assist servicii it powered by linux
itchannel
 
The Need For Speed
The Need For SpeedThe Need For Speed
The Need For SpeedAndy Davies
 
WebSocketでリアルタイム通信
WebSocketでリアルタイム通信WebSocketでリアルタイム通信
WebSocketでリアルタイム通信
Kensaku Komatsu
 

What's hot (15)

Test
TestTest
Test
 
WordPress for SysAdmins
WordPress for SysAdminsWordPress for SysAdmins
WordPress for SysAdmins
 
Faster Frontends
Faster FrontendsFaster Frontends
Faster Frontends
 
Rongjun Mu Blog & Microblogging
Rongjun Mu Blog & MicrobloggingRongjun Mu Blog & Microblogging
Rongjun Mu Blog & Microblogging
 
Linux Hardening - Made Easy
Linux Hardening - Made EasyLinux Hardening - Made Easy
Linux Hardening - Made Easy
 
Ilugc curl
Ilugc curlIlugc curl
Ilugc curl
 
Vulpes tribes backend
Vulpes tribes backendVulpes tribes backend
Vulpes tribes backend
 
Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013
 
Katchum
KatchumKatchum
Katchum
 
Node in the Cloud
Node in the CloudNode in the Cloud
Node in the Cloud
 
20081123-web2.0class
20081123-web2.0class20081123-web2.0class
20081123-web2.0class
 
It assist servicii it powered by linux
It assist   servicii it powered by linuxIt assist   servicii it powered by linux
It assist servicii it powered by linux
 
The Need For Speed
The Need For SpeedThe Need For Speed
The Need For Speed
 
Software Livre - Parte 2
Software Livre - Parte 2Software Livre - Parte 2
Software Livre - Parte 2
 
WebSocketでリアルタイム通信
WebSocketでリアルタイム通信WebSocketでリアルタイム通信
WebSocketでリアルタイム通信
 

Viewers also liked

Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)guest429949
 
WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)Kanasansoft
 
ブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探るブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探る
ndruger
 
Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法
beatinaniwa
 
究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”
Ryosuke Otsuya
 
Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2
mganeko
 
WebRTC Build MCU on browser
WebRTC Build MCU on browserWebRTC Build MCU on browser
WebRTC Build MCU on browser
mganeko
 
WebRTC SFU mediasoup sample
WebRTC SFU mediasoup sampleWebRTC SFU mediasoup sample
WebRTC SFU mediasoup sample
mganeko
 
ブラウザでWebRTC - iOSゲートウェイ作ってみた
ブラウザでWebRTC - iOSゲートウェイ作ってみたブラウザでWebRTC - iOSゲートウェイ作ってみた
ブラウザでWebRTC - iOSゲートウェイ作ってみた
mganeko
 
Appear.in premium walkthrough
Appear.in premium walkthroughAppear.in premium walkthrough
Appear.in premium walkthrough
Dag-Inge Aas
 

Viewers also liked (11)

Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)
 
WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)
 
ブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探るブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探る
 
Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法
 
究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”
 
Twitter
TwitterTwitter
Twitter
 
Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2
 
WebRTC Build MCU on browser
WebRTC Build MCU on browserWebRTC Build MCU on browser
WebRTC Build MCU on browser
 
WebRTC SFU mediasoup sample
WebRTC SFU mediasoup sampleWebRTC SFU mediasoup sample
WebRTC SFU mediasoup sample
 
ブラウザでWebRTC - iOSゲートウェイ作ってみた
ブラウザでWebRTC - iOSゲートウェイ作ってみたブラウザでWebRTC - iOSゲートウェイ作ってみた
ブラウザでWebRTC - iOSゲートウェイ作ってみた
 
Appear.in premium walkthrough
Appear.in premium walkthroughAppear.in premium walkthrough
Appear.in premium walkthrough
 

Similar to WebSocket - May 2011

V2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocketV2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocketbrent bucci
 
20190516 web security-basic
20190516 web security-basic20190516 web security-basic
20190516 web security-basic
MksYi
 
The Web Becomes Graceful
The Web Becomes GracefulThe Web Becomes Graceful
The Web Becomes Gracefulcolorhook
 
Web of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the WebWeb of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the Web
Dominique Guinard
 
Programming WebSockets - OSCON 2010
Programming WebSockets - OSCON 2010Programming WebSockets - OSCON 2010
Programming WebSockets - OSCON 2010sullis
 
Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...
Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...
Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...
Leonel Morgado
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站areyouok
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
topgeek
 
모바일 웹 디버깅
모바일 웹 디버깅모바일 웹 디버깅
모바일 웹 디버깅
Jae Sung Park
 
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahooguestb1b95b
 
Web crawlers part-2-20161104
Web crawlers part-2-20161104Web crawlers part-2-20161104
Web crawlers part-2-20161104
Patryk Omiotek
 
Demystifying REST
Demystifying RESTDemystifying REST
Demystifying REST
Kirsten Hunter
 
2011淘宝首页开发实践
2011淘宝首页开发实践2011淘宝首页开发实践
2011淘宝首页开发实践
jay li
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
Aviran Mordo
 
Web Performance Optimierung - DWX13
Web Performance Optimierung - DWX13Web Performance Optimierung - DWX13
Web Performance Optimierung - DWX13
Walter Ebert
 
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Patrick Meenan
 
Developing web applications in 2010
Developing web applications in 2010Developing web applications in 2010
Developing web applications in 2010
Ignacio Coloma
 
Websocket shanon
Websocket shanonWebsocket shanon
Websocket shanon
Takafumi Ikeda
 

Similar to WebSocket - May 2011 (20)

V2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocketV2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocket
 
20190516 web security-basic
20190516 web security-basic20190516 web security-basic
20190516 web security-basic
 
The Web Becomes Graceful
The Web Becomes GracefulThe Web Becomes Graceful
The Web Becomes Graceful
 
Web of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the WebWeb of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the Web
 
Programming WebSockets - OSCON 2010
Programming WebSockets - OSCON 2010Programming WebSockets - OSCON 2010
Programming WebSockets - OSCON 2010
 
Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...
Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...
Metodologias de Programação IV - Aula 4, Secção 2 - Suporte para sessões no p...
 
The Devil and HTML5
The Devil and HTML5The Devil and HTML5
The Devil and HTML5
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
모바일 웹 디버깅
모바일 웹 디버깅모바일 웹 디버깅
모바일 웹 디버깅
 
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
 
HTML5
HTML5HTML5
HTML5
 
Web crawlers part-2-20161104
Web crawlers part-2-20161104Web crawlers part-2-20161104
Web crawlers part-2-20161104
 
Demystifying REST
Demystifying RESTDemystifying REST
Demystifying REST
 
2011淘宝首页开发实践
2011淘宝首页开发实践2011淘宝首页开发实践
2011淘宝首页开发实践
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
 
Web Performance Optimierung - DWX13
Web Performance Optimierung - DWX13Web Performance Optimierung - DWX13
Web Performance Optimierung - DWX13
 
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
 
Developing web applications in 2010
Developing web applications in 2010Developing web applications in 2010
Developing web applications in 2010
 
Websocket shanon
Websocket shanonWebsocket shanon
Websocket shanon
 

Recently uploaded

By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
Jen Stirrup
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 

Recently uploaded (20)

By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 

WebSocket - May 2011

  • 3.
  • 5. - WebSocket • HTML5 WebSocket • HTTP • WebSocket • WebSocket
  • 6.
  • 7. HTML5 • • • CSS3 • • • • 3D •
  • 10. HTTP • WebSocket • • HTTP • HTTP
  • 11. HTTP GET / HTTP/1.1 Host: www.google.com $ curl -s -I example.com Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.775.0 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: rememberme=false; MPRF=H4sIAAAAAAAAAKuYtXb9nR2qXUwMk5gUDNNMk8wtTZIMEg2NjFOMU0yTUywN05IMzdPM0yws05InMDMAABefN-8wAAAA; PREF=ID=653bb17b4ad20ad7:U=887195970e2d3eb5:FF=0:LD=en:CR=2:TM=1250890880:LM=1304905016:DV=0SJoub_nzRUL:GM=1:IG=1:S=kWAnK24xLbFo-jxX; W6D=v4=0:ds=0:w=2:l=-31:q=0; HSID=AxXj866eb-z3QfZ4Q; NID=47=e1fmnO_gdNKpOe3AERa5ZSlvWgKw7T0mmRkMeSli_N5kWzcqZQyyPMRyuSToMxmJEjnua6aKs_hXQLVc9tC0NxrD9bM0Mqv86KCB2k11nEHTh4C5XxpR4X-PGdA_oSMi; SID=DQAAALcAAADTFk3fw4CcpvqpVTcbVYWSqDyAvudcrM-GIHt2vShGFDXH2PGTWZBlq4628zvGoP7yDxhPRsFTZXGnfYj-bu_3w3b_l61p_S3Go8J3Wh-N- WCW8DCjjjcv9bqETKUDvtwaZzqKyU6ye0Ld2f8Nxp9YZxwHQPvSduH4wQvvdurak7aXo2xUKXoiqAov_-Atji7e_SIBKJDrTU-VqmXZHS4KTCL0K1vIT0iFehK9nmaRUL307wnKk4bmh7zL_b2uId0 Response Headersview source HTTP/1.1 200 OK Date: Fri, 27 May 2011 21:46:44 GMT P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" Cache-Control: private Set-Cookie: IU=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=.yahoo.com Set-Cookie: PH=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=.yahoo.com Set-Cookie: fpc=d=G75aLUu.NPfNbZzOg. 47Us20ZTCutR.KpApGu3mOolSb7SNlhBpa.a2oaaJDzdGgP5Biued0sro2GrlcilwwRJruZtlFt_9Fpfu7SCWvyi161wFpsd2ZVI_ZG1AKS0EuowFpZQ0FfZqdGM9a7ax.h161HiH7CAt7kDFa3hx1VhejB0fNlBKj.AWgu7rJuCqozntl8zw-&v=2; expires=Sat, 26-May-2012 21:46:44 GMT; path=/; domain=www.yahoo.com Set-Cookie: FPCK3=AgBN4BsQAEktEABvHxAAS2EQAHhsEAB/XhAAb40=; expires=Sun, 26-Jun-2011 21:46:44 GMT; path=/; domain=www.yahoo.com Set-Cookie: CH=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=www.yahoo.com Set-Cookie: CH=AgBN4BsQAAQTEAA+eRAAOiIQAAn9EAAvBxAAEtoQABGqEAAHHxAAEKoQACy2; expires=Sun, 26-Jun-2011 21:46:44 GMT; path=/; domain=.yahoo.com Set-Cookie: fpt=d=eR.Dl3vXetYLbqr2P7..4xZDmTBBzdottQIdBXSs3r8SLBfgiVTa7rISq1pLZVVjiXAws85WakFIo9RFSx_lkmXmGfrjXGutPT6bsOAu9WEDJ1QLxWh_KoKwp4i9sKrUkgUs8zQli3lGSuaHlJiR5.QiMa1k4cgmZb8wqbAAFgBvGEhYVwmBOmZ2V Jvk3ZCKchfEq.Glx9YW8G5a5RbRcJaGVHiIWLafFQTkOJzLhnuK0ct3OdXdxz1uZmS9rdHDrl4YkugI1OdS6.WJgEyomOa6umMvEcZEsYYua61deTKJnMd4UqBhye4xg689m5NYZAMRaWILM9U5XRF6EPVmSqYkH61HiEIk.sRsV9PYLlTM. 1.I5BpvLDJ42d91ghnBXX27LptVD6JOaOodAFDq6alO6.Hh.zSpZ1848i3BiSsef_8ABsv3bF7yM3uVlVKJVlHGG48YRjXEVdJlqiHB3oW1U3v9obaD1_KGBuN7cAwTiF8D&v=1; path=/; domain=www.yahoo.com Set-Cookie: fpps=deleted; expires=Thu, 27-May-2010 21:46:43 GMT; path=/; domain=www.yahoo.com Set-Cookie: fpc_s=d=r8kXI22.NPd40D_h17R7s6P7BIHxIzc8tUfiPcqP9ygyB1LenxjHEPWRU1jKxojQPhaxlaBudV5WX0XpC3kRbWGNy4SSL31QI0RnLw586JbcayLy.wNw66UyxmGg69UjaKOHMpf2F7jrW2gwenHcTuTDLeaSjcoKKwAT_WQCFRZgDcrl4Hu EFyQsBXamT5Qg_1bx3C3N0PDpjJEPQNEKDP.qwoh1.5pQ5qGqs.2hlHIAG6RYDjsHkR9.ChQCp90ZXHmMOCP8pD0Ro3sNecnL612GJO4KBxIm5o1JxFWt4VWrlLk01.eSxFnO4x0-&v=2; path=/; domain=www.yahoo.com Vary: Accept-Encoding Content-Type: text/html;charset=utf-8 Age: 0 Connection: keep-alive Server: YTS/1.20.0 HELLO WORLD
  • 12. HTTP • $ curl -s -I example.com|wc -c • www.google.co.jp • 609 • www.yahoo.com • 2265
  • 13. HTTP 80 60 40 10 20 80MB 0 1,000 10,000 100,000
  • 14. HTTP In-band Out-band 40,000 10 30,000 1 20,000 Amazon EC2 10,000 300 0 1,000 10,000 100,000
  • 16. • • Ajax Polling • Long Polling • Comet
  • 17. Web
  • 19. • • Rawkets • •
  • 20. • • Multiuser Sketchpad • •
  • 21. • • kaazing.me • • • •
  • 22. WebSocket • Pusher • kaazing
  • 23. Pusher • HTTP POST •
  • 29. WebSocket • • F1 • • • •

Editor's Notes

  1. \n
  2. \n
  3. 遠藤です。Webサービスの開発をしています。\n
  4. \n
  5. はじめに、HTML5について少し触れます。\n
  6. HTML5のバッジが配布されています。これになぞらえてHTML5の機能を説明すると、次のようになります。\n
  7. HTML5においてWebSocketがとのように機能するのかというと、接続性の提供、パフォーマンス、統合に寄与する、といえます。\n
  8. さて、ハイパーテキストトランスファープロトコルと比較してみましょう。\n
  9. どんなメリットがあるか。WebSocketは全二重で通信できます。これは、例えば、大きなデータの送信の完了を待たずに最新の情報を受信する、といったことが一つのソケットで可能ということです。何本もコネクションを張る必要がありません。また、長時間にわたって接続を維持するのでヘッダー情報を節約できます。\n
  10. HTTPヘッダーを見てみるとこうなります。例えば、10文字の情報を得るためにこれだけのヘッダーが付加されています。\n
  11. どれくらいのサイズになるかというと、Googleで609バイト、Yahooで2kBほどでした。\n
  12. ブラウザが受信するヘッダーは、10万メーセージで約80MBになります。\n
  13. サーバが送信するヘッダーは、10万クライアントへ毎秒1メッセージを送信する場合、Amazon EC2を利用すると月間300万円弱に相当します。\n
  14. WebSocketは、シンプル、リソースの節約につながると言えます。\n
  15. もはや、ロングポーリングやコメットは、リアルタイム性を得るために編み出されたバッドノウハウといっても過言ではなくなりつつあります。\n
  16. 本物のリアルタイムWebへ、WebSocketが寄与していくことは間違いありません。では、どういうふうにWebSocketを使っていけばいいのでしょうか。WebSocketの利用シーンについて触れます。\n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n