Submit Search
Upload
WebSocket - May 2011
•
5 likes
•
1,252 views
takanao ENODH
Follow
about WebSocket. Copyright © 2011 MiCHiLU Lab.
Read less
Read more
Technology
Business
Report
Share
Report
Share
1 of 36
Recommended
Coordinating unattended reboots using a distributed mutex at GOV.UK
Coordinating unattended reboots using a distributed mutex at GOV.UK
Matt Bostock
BrightonSEO
BrightonSEO
Richard Falconer
Go Faster, Webmasters
Go Faster, Webmasters
Mike Bailey
1تقرير
1تقرير
tech1010
html
html
თორნიკე ჯანგიძე
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
Andy Davies
Are Today’s Good Practices... Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices... Tomorrow’s Performance Anti-Patterns?
Andy Davies
OpenStack Swift - MSST 2011 Tutorial Day
OpenStack Swift - MSST 2011 Tutorial Day
Joshua McKenty
Recommended
Coordinating unattended reboots using a distributed mutex at GOV.UK
Coordinating unattended reboots using a distributed mutex at GOV.UK
Matt Bostock
BrightonSEO
BrightonSEO
Richard Falconer
Go Faster, Webmasters
Go Faster, Webmasters
Mike Bailey
1تقرير
1تقرير
tech1010
html
html
თორნიკე ჯანგიძე
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
Andy Davies
Are Today’s Good Practices... Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices... Tomorrow’s Performance Anti-Patterns?
Andy Davies
OpenStack Swift - MSST 2011 Tutorial Day
OpenStack Swift - MSST 2011 Tutorial Day
Joshua McKenty
Test
Test
dangthikimoanh
WordPress for SysAdmins
WordPress for SysAdmins
Javier Arturo Rodríguez
Faster Frontends
Faster Frontends
Andy Davies
Rongjun Mu Blog & Microblogging
Rongjun Mu Blog & Microblogging
Yuancheng Yang
Linux Hardening - Made Easy
Linux Hardening - Made Easy
Guy Barnhart-Magen
Ilugc curl
Ilugc curl
Akilan Ram
Vulpes tribes backend
Vulpes tribes backend
Jiří Soušek
Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013
zanthrash
Katchum
Katchum
Caio Tarifa
Node in the Cloud
Node in the Cloud
Sondre Bjellås
20081123-web2.0class
20081123-web2.0class
Charles Chuang
It assist servicii it powered by linux
It assist servicii it powered by linux
itchannel
The Need For Speed
The Need For Speed
Andy Davies
Software Livre - Parte 2
Software Livre - Parte 2
nuno.jose.duarte
WebSocketでリアルタイム通信
WebSocketでリアルタイム通信
Kensaku Komatsu
Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)
guest429949
WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)
Kanasansoft
ブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探る
ndruger
Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法
beatinaniwa
究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”
Ryosuke Otsuya
Twitter
Twitter
Fumi Yamazaki
Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2
mganeko
More Related Content
What's hot
Test
Test
dangthikimoanh
WordPress for SysAdmins
WordPress for SysAdmins
Javier Arturo Rodríguez
Faster Frontends
Faster Frontends
Andy Davies
Rongjun Mu Blog & Microblogging
Rongjun Mu Blog & Microblogging
Yuancheng Yang
Linux Hardening - Made Easy
Linux Hardening - Made Easy
Guy Barnhart-Magen
Ilugc curl
Ilugc curl
Akilan Ram
Vulpes tribes backend
Vulpes tribes backend
Jiří Soušek
Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013
zanthrash
Katchum
Katchum
Caio Tarifa
Node in the Cloud
Node in the Cloud
Sondre Bjellås
20081123-web2.0class
20081123-web2.0class
Charles Chuang
It assist servicii it powered by linux
It assist servicii it powered by linux
itchannel
The Need For Speed
The Need For Speed
Andy Davies
Software Livre - Parte 2
Software Livre - Parte 2
nuno.jose.duarte
WebSocketでリアルタイム通信
WebSocketでリアルタイム通信
Kensaku Komatsu
What's hot
(15)
Test
Test
WordPress for SysAdmins
WordPress for SysAdmins
Faster Frontends
Faster Frontends
Rongjun Mu Blog & Microblogging
Rongjun Mu Blog & Microblogging
Linux Hardening - Made Easy
Linux Hardening - Made Easy
Ilugc curl
Ilugc curl
Vulpes tribes backend
Vulpes tribes backend
Node Tools For Your Grails Toolbox - Gr8Conf 2013
Node Tools For Your Grails Toolbox - Gr8Conf 2013
Katchum
Katchum
Node in the Cloud
Node in the Cloud
20081123-web2.0class
20081123-web2.0class
It assist servicii it powered by linux
It assist servicii it powered by linux
The Need For Speed
The Need For Speed
Software Livre - Parte 2
Software Livre - Parte 2
WebSocketでリアルタイム通信
WebSocketでリアルタイム通信
Viewers also liked
Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)
guest429949
WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)
Kanasansoft
ブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探る
ndruger
Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法
beatinaniwa
究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”
Ryosuke Otsuya
Twitter
Twitter
Fumi Yamazaki
Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2
mganeko
WebRTC Build MCU on browser
WebRTC Build MCU on browser
mganeko
WebRTC SFU mediasoup sample
WebRTC SFU mediasoup sample
mganeko
ブラウザでWebRTC - iOSゲートウェイ作ってみた
ブラウザでWebRTC - iOSゲートウェイ作ってみた
mganeko
Appear.in premium walkthrough
Appear.in premium walkthrough
Dag-Inge Aas
Viewers also liked
(11)
Twipper発表資料(Twitter研究会用)
Twipper発表資料(Twitter研究会用)
WebSocketでデバイス間連携(第1回WebSocket勉強会)
WebSocketでデバイス間連携(第1回WebSocket勉強会)
ブラウザのハードウェア対応の未来を探る
ブラウザのハードウェア対応の未来を探る
Twitterからホットなキーワードを抽出する方法
Twitterからホットなキーワードを抽出する方法
究極のゲーム用通信プロトコル “WebRTC”
究極のゲーム用通信プロトコル “WebRTC”
Twitter
Twitter
Inside of 聖徳玉子 by O2
Inside of 聖徳玉子 by O2
WebRTC Build MCU on browser
WebRTC Build MCU on browser
WebRTC SFU mediasoup sample
WebRTC SFU mediasoup sample
ブラウザでWebRTC - iOSゲートウェイ作ってみた
ブラウザでWebRTC - iOSゲートウェイ作ってみた
Appear.in premium walkthrough
Appear.in premium walkthrough
Similar to WebSocket - May 2011
V2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocket
brent bucci
20190516 web security-basic
20190516 web security-basic
MksYi
The Web Becomes Graceful
The Web Becomes Graceful
colorhook
Web 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 2010
sullis
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
The Devil and HTML5
The Devil and HTML5
Myles Braithwaite
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
areyouok
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
topgeek
모바일 웹 디버깅
모바일 웹 디버깅
Jae Sung Park
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
guestb1b95b
HTML5
HTML5
Brad Touesnard
Web crawlers part-2-20161104
Web crawlers part-2-20161104
Patryk Omiotek
Demystifying REST
Demystifying REST
Kirsten Hunter
2011淘宝首页开发实践
2011淘宝首页开发实践
jay li
Introduction to HTTP protocol
Introduction to HTTP protocol
Aviran Mordo
Web 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...
Patrick Meenan
Developing web applications in 2010
Developing web applications in 2010
Ignacio Coloma
Websocket shanon
Websocket shanon
Takafumi Ikeda
Similar to WebSocket - May 2011
(20)
V2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocket
20190516 web security-basic
20190516 web security-basic
The 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 Web
Programming 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...
The Devil and HTML5
The Devil and HTML5
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
모바일 웹 디버깅
모바일 웹 디버깅
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
HTML5
HTML5
Web crawlers part-2-20161104
Web crawlers part-2-20161104
Demystifying REST
Demystifying REST
2011淘宝首页开发实践
2011淘宝首页开发实践
Introduction to HTTP protocol
Introduction to HTTP protocol
Web 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...
Developing web applications in 2010
Developing web applications in 2010
Websocket shanon
Websocket shanon
Recently uploaded
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Wonjun Hwang
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Recently uploaded
(20)
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
WebSocket - May 2011
1.
WebSocket May
2011
2.
http://j.mp/ws201105
3.
4.
MiCHiLU Lab. ENDOH takanao
5.
- WebSocket • HTML5
WebSocket • HTTP • WebSocket • WebSocket
6.
7.
HTML5 •
• • CSS3 • • • • 3D •
8.
WebSocket • •
9.
HTTP
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
15.
WebSocket
16.
• •
Ajax Polling • Long Polling • Comet
17.
Web
18.
WebSocket • • • • • •
19.
• •
Rawkets • •
20.
• •
Multiuser Sketchpad • •
21.
• •
kaazing.me • • • •
22.
WebSocket •
Pusher • kaazing
23.
Pusher •
HTTP POST •
24.
kaazing • • • XMPP • AMQP
25.
WebSocket
26.
WebSocket 1. Google Chrome 2. 3.
27.
WebSocket 1. Network 2. WebSocket
28.
WebSocket
29.
WebSocket •
• F1 • • • •
30.
MiCHiLU Lab.
31.
MiCHiLU Lab. Shirasu.ws WebSocket
32.
MiCHiLU Lab. ws-x.com WebSocket eXchange 2012
33.
WebSocket.JP WebSocket OSC2011 Kansai@Kyoto
7/15( )
34.
MiCHiLU Lab. michilu.com/products AppFrontend OneTalk
35.
http://j.mp/ws201105 WebSocket.JP http://websocket.jp @WebSocket_ http://twitter.com/WebSocket_ Shirasu.ws http://shirasu.ws
Editor's Notes
\n
\n
遠藤です。Webサービスの開発をしています。\n
\n
はじめに、HTML5について少し触れます。\n
HTML5のバッジが配布されています。これになぞらえてHTML5の機能を説明すると、次のようになります。\n
HTML5においてWebSocketがとのように機能するのかというと、接続性の提供、パフォーマンス、統合に寄与する、といえます。\n
さて、ハイパーテキストトランスファープロトコルと比較してみましょう。\n
どんなメリットがあるか。WebSocketは全二重で通信できます。これは、例えば、大きなデータの送信の完了を待たずに最新の情報を受信する、といったことが一つのソケットで可能ということです。何本もコネクションを張る必要がありません。また、長時間にわたって接続を維持するのでヘッダー情報を節約できます。\n
HTTPヘッダーを見てみるとこうなります。例えば、10文字の情報を得るためにこれだけのヘッダーが付加されています。\n
どれくらいのサイズになるかというと、Googleで609バイト、Yahooで2kBほどでした。\n
ブラウザが受信するヘッダーは、10万メーセージで約80MBになります。\n
サーバが送信するヘッダーは、10万クライアントへ毎秒1メッセージを送信する場合、Amazon EC2を利用すると月間300万円弱に相当します。\n
WebSocketは、シンプル、リソースの節約につながると言えます。\n
もはや、ロングポーリングやコメットは、リアルタイム性を得るために編み出されたバッドノウハウといっても過言ではなくなりつつあります。\n
本物のリアルタイムWebへ、WebSocketが寄与していくことは間違いありません。では、どういうふうにWebSocketを使っていけばいいのでしょうか。WebSocketの利用シーンについて触れます。\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n