Soumettre la recherche
Mettre en ligne
Router と WebSocket
•
Télécharger en tant que KEY, PDF
•
4 j'aime
•
2,532 vues
Kensaku Komatsu
Suivre
第2回CloudFoundry輪読会講演資料 cloud foundryのrouterとかを弄って、WebSocket動くようにしてみましたよ!!というお話
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 26
Télécharger maintenant
Recommandé
111214 node conf
111214 node conf
Kensaku Komatsu
Nginx Internals
Nginx Internals
Joshua Zhu
Installation Openstack Swift
Installation Openstack Swift
ymtech
Apache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse Proxy
Jim Jagielski
OWASP ZAP Workshop for QA Testers
OWASP ZAP Workshop for QA Testers
Javan Rasokat
Php push notifications
Php push notifications
Mohammed Shurrab
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
Jean-Frederic Clere
Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014
bryan_call
Recommandé
111214 node conf
111214 node conf
Kensaku Komatsu
Nginx Internals
Nginx Internals
Joshua Zhu
Installation Openstack Swift
Installation Openstack Swift
ymtech
Apache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse Proxy
Jim Jagielski
OWASP ZAP Workshop for QA Testers
OWASP ZAP Workshop for QA Testers
Javan Rasokat
Php push notifications
Php push notifications
Mohammed Shurrab
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
Jean-Frederic Clere
Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014
bryan_call
Apache Camel: Jetty Component With Example
Apache Camel: Jetty Component With Example
Amit Aggarwal
Apache httpd 2.4: The Cloud Killer App
Apache httpd 2.4: The Cloud Killer App
Jim Jagielski
Web sockets in Java
Web sockets in Java
Pance Cavkovski
Ws
Ws
Sunghan Kim
GWT Web Socket and data serialization
GWT Web Socket and data serialization
GWTcon
Usenix LISA 2012 - Choosing a Proxy
Usenix LISA 2012 - Choosing a Proxy
Leif Hedstrom
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
Zhichao Liang
Websocket protocol overview
Websocket protocol overview
allenmeng
NGINX: High Performance Load Balancing
NGINX: High Performance Load Balancing
NGINX, Inc.
Content Caching with NGINX and NGINX Plus
Content Caching with NGINX and NGINX Plus
Kevin Jones
실시간 서비스 플랫폼 개발 사례
실시간 서비스 플랫폼 개발 사례
John Kim
Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014
Arun Gupta
ReplacingSquidWithATS
ReplacingSquidWithATS
Chiranjeevi Jaladi
Ansible
Ansible
Vladimír Smitka
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
John Kim
cache concepts and varnish-cache
cache concepts and varnish-cache
Marc Cortinas Val
WebSockets in JEE 7
WebSockets in JEE 7
Shahzad Badar
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
NAVER D2
How to create multiprocess server on windows with ruby - rubykaigi2016 Ritta ...
How to create multiprocess server on windows with ruby - rubykaigi2016 Ritta ...
Ritta Narita
Pushing the web — WebSockets
Pushing the web — WebSockets
Roland M
Realtime web application with java
Realtime web application with java
JeongHun Byeon
WebSockets and Java
WebSockets and Java
Bozhidar Bozhanov
Contenu connexe
Tendances
Apache Camel: Jetty Component With Example
Apache Camel: Jetty Component With Example
Amit Aggarwal
Apache httpd 2.4: The Cloud Killer App
Apache httpd 2.4: The Cloud Killer App
Jim Jagielski
Web sockets in Java
Web sockets in Java
Pance Cavkovski
Ws
Ws
Sunghan Kim
GWT Web Socket and data serialization
GWT Web Socket and data serialization
GWTcon
Usenix LISA 2012 - Choosing a Proxy
Usenix LISA 2012 - Choosing a Proxy
Leif Hedstrom
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
Zhichao Liang
Websocket protocol overview
Websocket protocol overview
allenmeng
NGINX: High Performance Load Balancing
NGINX: High Performance Load Balancing
NGINX, Inc.
Content Caching with NGINX and NGINX Plus
Content Caching with NGINX and NGINX Plus
Kevin Jones
실시간 서비스 플랫폼 개발 사례
실시간 서비스 플랫폼 개발 사례
John Kim
Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014
Arun Gupta
ReplacingSquidWithATS
ReplacingSquidWithATS
Chiranjeevi Jaladi
Ansible
Ansible
Vladimír Smitka
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
John Kim
cache concepts and varnish-cache
cache concepts and varnish-cache
Marc Cortinas Val
WebSockets in JEE 7
WebSockets in JEE 7
Shahzad Badar
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
NAVER D2
How to create multiprocess server on windows with ruby - rubykaigi2016 Ritta ...
How to create multiprocess server on windows with ruby - rubykaigi2016 Ritta ...
Ritta Narita
Pushing the web — WebSockets
Pushing the web — WebSockets
Roland M
Tendances
(20)
Apache Camel: Jetty Component With Example
Apache Camel: Jetty Component With Example
Apache httpd 2.4: The Cloud Killer App
Apache httpd 2.4: The Cloud Killer App
Web sockets in Java
Web sockets in Java
Ws
Ws
GWT Web Socket and data serialization
GWT Web Socket and data serialization
Usenix LISA 2012 - Choosing a Proxy
Usenix LISA 2012 - Choosing a Proxy
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
Websocket protocol overview
Websocket protocol overview
NGINX: High Performance Load Balancing
NGINX: High Performance Load Balancing
Content Caching with NGINX and NGINX Plus
Content Caching with NGINX and NGINX Plus
실시간 서비스 플랫폼 개발 사례
실시간 서비스 플랫폼 개발 사례
Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014
ReplacingSquidWithATS
ReplacingSquidWithATS
Ansible
Ansible
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
cache concepts and varnish-cache
cache concepts and varnish-cache
WebSockets in JEE 7
WebSockets in JEE 7
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
How to create multiprocess server on windows with ruby - rubykaigi2016 Ritta ...
How to create multiprocess server on windows with ruby - rubykaigi2016 Ritta ...
Pushing the web — WebSockets
Pushing the web — WebSockets
En vedette
Realtime web application with java
Realtime web application with java
JeongHun Byeon
WebSockets and Java
WebSockets and Java
Bozhidar Bozhanov
Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets
Naresh Chintalcheru
WebWorker and Atomics
WebWorker and Atomics
Taketoshi 青野健利
先入観とバイアスを考慮したWebサイトパフォーマンス改善
先入観とバイアスを考慮したWebサイトパフォーマンス改善
Yoichiro Takehora
WebSocket MicroService vs. REST Microservice
WebSocket MicroService vs. REST Microservice
Rick Hightower
Erlangご紹介 websocket編
Erlangご紹介 websocket編
Masatoshi Itoh
WebSockets with Spring 4
WebSockets with Spring 4
Sergi Almar i Graupera
En vedette
(8)
Realtime web application with java
Realtime web application with java
WebSockets and Java
WebSockets and Java
Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets
WebWorker and Atomics
WebWorker and Atomics
先入観とバイアスを考慮したWebサイトパフォーマンス改善
先入観とバイアスを考慮したWebサイトパフォーマンス改善
WebSocket MicroService vs. REST Microservice
WebSocket MicroService vs. REST Microservice
Erlangご紹介 websocket編
Erlangご紹介 websocket編
WebSockets with Spring 4
WebSockets with Spring 4
Similaire à Router と WebSocket
An Introduction to Twisted
An Introduction to Twisted
sdsern
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
The HTML5 WebSocket API
The HTML5 WebSocket API
David Lindkvist
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
Edward Burns
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
Madhu Venugopal
Realtime web experience with signal r
Realtime web experience with signal r
Ran Wahle
WebSockets Everywhere: the Future Transport Protocol for Everything (Almost)
WebSockets Everywhere: the Future Transport Protocol for Everything (Almost)
Ericom Software
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
Stuart (Pid) Williams
introduction to node.js
introduction to node.js
orkaplan
Nodejs and WebSockets
Nodejs and WebSockets
Gonzalo Ayuso
Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Ser...
Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Ser...
Damir Dobric
Real World Lessons on the Pain Points of Node.JS Application
Real World Lessons on the Pain Points of Node.JS Application
Ben Hall
Websockets and SockJS, Real time chatting
Websockets and SockJS, Real time chatting
University of Alabama at Birmingham
Web-Socket
Web-Socket
Pankaj Kumar Sharma
The Challenges of Becoming Cloud Native
The Challenges of Becoming Cloud Native
Ben Hall
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
Yongyoon Shin
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
Viktor Gamov
Memonic Architecture
Memonic Architecture
Patrice Neff
T2
T2
Mo Ch
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
C2B2 Consulting
Similaire à Router と WebSocket
(20)
An Introduction to Twisted
An Introduction to Twisted
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
The HTML5 WebSocket API
The HTML5 WebSocket API
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
Realtime web experience with signal r
Realtime web experience with signal r
WebSockets Everywhere: the Future Transport Protocol for Everything (Almost)
WebSockets Everywhere: the Future Transport Protocol for Everything (Almost)
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
introduction to node.js
introduction to node.js
Nodejs and WebSockets
Nodejs and WebSockets
Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Ser...
Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Ser...
Real World Lessons on the Pain Points of Node.JS Application
Real World Lessons on the Pain Points of Node.JS Application
Websockets and SockJS, Real time chatting
Websockets and SockJS, Real time chatting
Web-Socket
Web-Socket
The Challenges of Becoming Cloud Native
The Challenges of Becoming Cloud Native
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
WebSockets: The Current State of the Most Valuable HTML5 API for Java Developers
Memonic Architecture
Memonic Architecture
T2
T2
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
Plus de Kensaku Komatsu
Media processing with serverless architecture
Media processing with serverless architecture
Kensaku Komatsu
Boxdev lt-09082016
Boxdev lt-09082016
Kensaku Komatsu
a pattern for PWA, PRPL
a pattern for PWA, PRPL
Kensaku Komatsu
Full Matrix Auto Test Framework for WebRTC
Full Matrix Auto Test Framework for WebRTC
Kensaku Komatsu
WebRTC 101
WebRTC 101
Kensaku Komatsu
04122016 web rtc_globalsummit
04122016 web rtc_globalsummit
Kensaku Komatsu
02172016 web rtc_conf_komasshu
02172016 web rtc_conf_komasshu
Kensaku Komatsu
SkyWay国内唯一のCPaaS
SkyWay国内唯一のCPaaS
Kensaku Komatsu
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ uv4l-webrtc 軽くハックしてみたよ!
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ uv4l-webrtc 軽くハックしてみたよ!
Kensaku Komatsu
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
Kensaku Komatsu
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
Kensaku Komatsu
FirefoxでgetStats()
FirefoxでgetStats()
Kensaku Komatsu
14th apr2015 リックテレコ勉強会
14th apr2015 リックテレコ勉強会
Kensaku Komatsu
WebRTCが拓く新たなWebビジネスの世界
WebRTCが拓く新たなWebビジネスの世界
Kensaku Komatsu
Web of Thingsの現状とWebRTC活用の可能性
Web of Thingsの現状とWebRTC活用の可能性
Kensaku Komatsu
25th nov2014 52thhtml5j
25th nov2014 52thhtml5j
Kensaku Komatsu
知ってると得するかもしれないConstraintsたち
知ってると得するかもしれないConstraintsたち
Kensaku Komatsu
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
Kensaku Komatsu
エフサミ2014 web rtcの傾向と対策
エフサミ2014 web rtcの傾向と対策
Kensaku Komatsu
HTML5 Night 2014 Web x Network Technology ( WebRTC )
HTML5 Night 2014 Web x Network Technology ( WebRTC )
Kensaku Komatsu
Plus de Kensaku Komatsu
(20)
Media processing with serverless architecture
Media processing with serverless architecture
Boxdev lt-09082016
Boxdev lt-09082016
a pattern for PWA, PRPL
a pattern for PWA, PRPL
Full Matrix Auto Test Framework for WebRTC
Full Matrix Auto Test Framework for WebRTC
WebRTC 101
WebRTC 101
04122016 web rtc_globalsummit
04122016 web rtc_globalsummit
02172016 web rtc_conf_komasshu
02172016 web rtc_conf_komasshu
SkyWay国内唯一のCPaaS
SkyWay国内唯一のCPaaS
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ uv4l-webrtc 軽くハックしてみたよ!
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ uv4l-webrtc 軽くハックしてみたよ!
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
FirefoxでgetStats()
FirefoxでgetStats()
14th apr2015 リックテレコ勉強会
14th apr2015 リックテレコ勉強会
WebRTCが拓く新たなWebビジネスの世界
WebRTCが拓く新たなWebビジネスの世界
Web of Thingsの現状とWebRTC活用の可能性
Web of Thingsの現状とWebRTC活用の可能性
25th nov2014 52thhtml5j
25th nov2014 52thhtml5j
知ってると得するかもしれないConstraintsたち
知ってると得するかもしれないConstraintsたち
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
エフサミ2014 web rtcの傾向と対策
エフサミ2014 web rtcの傾向と対策
HTML5 Night 2014 Web x Network Technology ( WebRTC )
HTML5 Night 2014 Web x Network Technology ( WebRTC )
Dernier
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
soniya singh
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
AndikSusilo4
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Dernier
(20)
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Slack Application Development 101 Slides
Slack Application Development 101 Slides
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Router と WebSocket
1.
Router WebSocket
2011/11/17(thu) 2 CloudFoundry
2.
•
(@komasshu) • WebSocket • Google API Expert (HTML5) • Microsoft Valuable Professional (IE)
3.
CloudFoundry WebSocket
...
4.
WebSocket • HTML5
API/Protocol • Web •
5.
• Web(port=80)
VPN • SSL-VPN
6.
7.
8.
9.
Handshake
10.
Handshake
11.
Handshake Frames
12.
point : Upgrade Request
Header (client => server) GET /chat HTTP/1.1 Host: server.example.com Upgrade: websocket Response Header (server => client) HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Upgrade HTTP WebSocket
13.
HTTP Compatible •
VPN • FW, Proxy • HTTP/1.1 • • Web VPN
14.
http://www.ericom.com/html5_client_vmware_view.asp
http://www.publickey1.jp/blog/11/webhtml5.html
15.
CloudFoundry WebSocket
orz • why? • nginx 2 • router HTTP/1.1 rails sinatra nginx router node.js DEA
16.
• nginx •
zip Access log HTTPS • router • URL routing URL routing unix domain tcp socket socket rails (tcp socket ) 80/443 sinatra nginx router node.js DEA
17.
WebSocket
nginx • Request HTTP (502) • tcp_proxy Patch • https://github.com/yaoweibin/nginx_tcp_proxy_module
18.
nginx.conf tcp {
upstream vcap_router { server unix:/tmp/router.sock; # server 127.0.0.1:2222; # check interval=3000 rise=2 fall=5 timeout=1000; } tcp_nodelay off; server { listen 80; server_name _; proxy_read_timeout 200000; proxy_send_timeout 200000; proxy_pass vcap_router; } }
19.
WebSocket
router • HTTP Request/Response HTTP • WebSocket Frames • HTTP
20.
dialog of router.rb
request Header router request/sec Router on_headers _complete() unix module module node.js nginx domain TCP socket socket ClientConnection AppConnection on_headers _complete() response Header response latency
21.
WebSocket Upgrade: websocket
proof of concept WebsocketConnection router module TCP socket node.js on_headers AppConnection _complete() on_headers unix module _complete() nginx domain socket ClientConnection module WebsocketConne TCP socket node.js ction WS
22.
client_connection.rb def on_headers_complete(headers)
.... # [kom] Check connection mode(websocket or not) @is_websocket = (headers[UPGRADE_HEADER] == WEBSOCKET) ? true : false Router.log.info "@is_websocket : #{@is_websocket}" .... if (@is_websocket) host, port = @droplet[:host], @droplet[:port] @bound_app_conn = EM.connect(host, port, WebsocketConnection, self, @headers, @droplet) return end .... end
23.
websocket_connection.rb module WebsocketConnection def
initialize client, header, droplet @client, @header, @droplet = client, header, droplet end def connection_completed send_data(@header) end def receive_data(data) @client.send_data(data) end def terminate end orz end
24.
Demo (echo server)
25.
•
proof of concept • production • zip, ssl NG • WebSocketConnection • :)
26.
Thank you!! http://twitter.com/komasshu
Notes de l'éditeur
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Télécharger maintenant