Suche senden
Hochladen
111214 node conf
•
Als KEY, PDF herunterladen
•
4 gefällt mir
•
2,655 views
Kensaku Komatsu
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 50
Jetzt herunterladen
Empfohlen
Router と WebSocket
Router と WebSocket
Kensaku Komatsu
Installation Openstack Swift
Installation Openstack Swift
ymtech
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
Acus08 Advanced Load Balancing Apache2.2
Acus08 Advanced Load Balancing Apache2.2
Jim Jagielski
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
Zhichao Liang
Nginx Internals
Nginx Internals
Joshua Zhu
Apache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse Proxy
Jim Jagielski
Defeating The Network Security Infrastructure V1.0
Defeating The Network Security Infrastructure V1.0
Philippe Bogaerts
Empfohlen
Router と WebSocket
Router と WebSocket
Kensaku Komatsu
Installation Openstack Swift
Installation Openstack Swift
ymtech
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
Acus08 Advanced Load Balancing Apache2.2
Acus08 Advanced Load Balancing Apache2.2
Jim Jagielski
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
Zhichao Liang
Nginx Internals
Nginx Internals
Joshua Zhu
Apache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse Proxy
Jim Jagielski
Defeating The Network Security Infrastructure V1.0
Defeating The Network Security Infrastructure V1.0
Philippe Bogaerts
Docker 1.12 networking deep dive
Docker 1.12 networking deep dive
Madhu Venugopal
Understanding docker networking
Understanding docker networking
Lorenzo Fontana
Docker networking
Docker networking
Alvaro Saurin
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
Open Source Consulting
Docker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan Drivers
Brent Salisbury
Kubernetes networking - basics
Kubernetes networking - basics
Juraj Hantak
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
Jean-Frederic Clere
Seamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay production
Chengyuan Li
Docker network
Docker network
Mohammadreza Amini
Docker-OVS
Docker-OVS
snrism
[2018.10.19] Andrew Kong - Tunnel without tunnel (Seminar at OpenStack Korea ...
[2018.10.19] Andrew Kong - Tunnel without tunnel (Seminar at OpenStack Korea ...
OpenStack Korea Community
Docker and Fargate
Docker and Fargate
Shinji Miyazato
Docker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental Networking
Sreenivas Makam
Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
purpleocean
Vagrant
Vagrant
Denys Haryachyy
Making Your Capistrano Recipe Book
Making Your Capistrano Recipe Book
Tim Riley
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
Ortus Solutions, Corp
Docker Network Overview and legacy "--link"
Docker Network Overview and legacy "--link"
Avash Mulmi
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Trevor Roberts Jr.
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
Ji-Woong Choi
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
Madhu Venugopal
Weitere ähnliche Inhalte
Was ist angesagt?
Docker 1.12 networking deep dive
Docker 1.12 networking deep dive
Madhu Venugopal
Understanding docker networking
Understanding docker networking
Lorenzo Fontana
Docker networking
Docker networking
Alvaro Saurin
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
Open Source Consulting
Docker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan Drivers
Brent Salisbury
Kubernetes networking - basics
Kubernetes networking - basics
Juraj Hantak
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
Jean-Frederic Clere
Seamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay production
Chengyuan Li
Docker network
Docker network
Mohammadreza Amini
Docker-OVS
Docker-OVS
snrism
[2018.10.19] Andrew Kong - Tunnel without tunnel (Seminar at OpenStack Korea ...
[2018.10.19] Andrew Kong - Tunnel without tunnel (Seminar at OpenStack Korea ...
OpenStack Korea Community
Docker and Fargate
Docker and Fargate
Shinji Miyazato
Docker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental Networking
Sreenivas Makam
Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
purpleocean
Vagrant
Vagrant
Denys Haryachyy
Making Your Capistrano Recipe Book
Making Your Capistrano Recipe Book
Tim Riley
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
Ortus Solutions, Corp
Docker Network Overview and legacy "--link"
Docker Network Overview and legacy "--link"
Avash Mulmi
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Trevor Roberts Jr.
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
Ji-Woong Choi
Was ist angesagt?
(20)
Docker 1.12 networking deep dive
Docker 1.12 networking deep dive
Understanding docker networking
Understanding docker networking
Docker networking
Docker networking
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
Docker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan Drivers
Kubernetes networking - basics
Kubernetes networking - basics
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
Seamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay production
Docker network
Docker network
Docker-OVS
Docker-OVS
[2018.10.19] Andrew Kong - Tunnel without tunnel (Seminar at OpenStack Korea ...
[2018.10.19] Andrew Kong - Tunnel without tunnel (Seminar at OpenStack Korea ...
Docker and Fargate
Docker and Fargate
Docker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental Networking
Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
Vagrant
Vagrant
Making Your Capistrano Recipe Book
Making Your Capistrano Recipe Book
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
Docker Network Overview and legacy "--link"
Docker Network Overview and legacy "--link"
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
Ähnlich wie 111214 node conf
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
Madhu Venugopal
An Introduction to Twisted
An Introduction to Twisted
sdsern
The Challenges of Becoming Cloud Native
The Challenges of Becoming Cloud Native
Ben Hall
Introduction to WebSockets
Introduction to WebSockets
Gunnar Hillert
Ws
Ws
Sunghan Kim
Analyzing the Performance of Mobile Web
Analyzing the Performance of Mobile Web
Ariya Hidayat
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
Yongyoon Shin
Docker Enterprise Workshop - Technical
Docker Enterprise Workshop - Technical
Patrick Chanezon
Osnug meetup-tungsten fabric - overview.pptx
Osnug meetup-tungsten fabric - overview.pptx
M.Qasim Arham
The HTML5 WebSocket API
The HTML5 WebSocket API
David Lindkvist
Nodejs and WebSockets
Nodejs and WebSockets
Gonzalo Ayuso
Node js quick-tour_v2
Node js quick-tour_v2
tianyi5212222
Node js quick-tour_v2
Node js quick-tour_v2
http403
Node js quick tour v2
Node js quick tour v2
Wyatt Fang
Deploying windows containers with kubernetes
Deploying windows containers with kubernetes
Ben Hall
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
Stuart (Pid) Williams
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
Memonic Architecture
Memonic Architecture
Patrice Neff
.NET Conf 2022 - Networking in .NET 7
.NET Conf 2022 - Networking in .NET 7
Karel Zikmund
Ähnlich wie 111214 node conf
(20)
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
An Introduction to Twisted
An Introduction to Twisted
The Challenges of Becoming Cloud Native
The Challenges of Becoming Cloud Native
Introduction to WebSockets
Introduction to WebSockets
Ws
Ws
Analyzing the Performance of Mobile Web
Analyzing the Performance of Mobile Web
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
Docker Enterprise Workshop - Technical
Docker Enterprise Workshop - Technical
Osnug meetup-tungsten fabric - overview.pptx
Osnug meetup-tungsten fabric - overview.pptx
The HTML5 WebSocket API
The HTML5 WebSocket API
Nodejs and WebSockets
Nodejs and WebSockets
Node js quick-tour_v2
Node js quick-tour_v2
Node js quick-tour_v2
Node js quick-tour_v2
Node js quick tour v2
Node js quick tour v2
Deploying windows containers with kubernetes
Deploying windows containers with kubernetes
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
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...
Memonic Architecture
Memonic Architecture
.NET Conf 2022 - Networking in .NET 7
.NET Conf 2022 - Networking in .NET 7
Mehr von 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
Mehr von 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 )
Kürzlich hochgeladen
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
soniya singh
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
AndikSusilo4
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
LBM Solutions
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Pixlogix Infotech
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Kürzlich hochgeladen
(20)
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
111214 node conf
1.
CloudFoundry transports{[‘websocket’]}
2011/12/14(wed) Node 3
2.
•
(@komasshu) • html5 • WebSocket • Google API Expert (HTML5) • Microsoft Valuable Professional (IE)
3.
4.
CloudFoundry WebSocket
...
5.
about Cloud Foundry
6.
Cloud Foundry
? • VMWare PaaS https://github.com/cloudfoundry
7.
easy demo
just push apps $ vmc push hogehoge http://cloudfoundry.com/
8.
Heroku • private PaaS • •
CloudFoundry PaaS • Active State • AppFog • Joyent
9.
Architecture of
Cloud Foundry http://www.slideshare.net/derekcollison/design-of-cloud-foundry
10.
•
• Cloud Controller • router • DEA • ... • NATS •
11.
hoge.com
3000 app0 (3000) fuga.com 3001 router hoge.com app1 (3001) DEA register deploy cloud controller push
12.
about websocket
13.
WebSocket • HTML5
API/Protocol • Web •
14.
• Web(port=80)
VPN • SSL-VPN
15.
16.
17.
18.
Handshake
19.
Handshake
20.
Handshake Frames
21.
HTTP GET 200 GET 200 GET 200
22.
HTTP GET 200 GET 200 GET 200
23.
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
24.
HTTP Compatible •
VPN • FW, Proxy • HTTP/1.1 • • Web VPN
25.
http://www.ericom.com/html5_client_vmware_view.asp
http://www.publickey1.jp/blog/11/webhtml5.html
26.
WebSocket
on Cloud Foundry
27.
CloudFoundry WebSocket
orz • why? • nginx 2 • router HTTP/1.1 rails sinatra nginx router node.js DEA
28.
• 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
29.
2
socket.io + transports{‘xhr-polling’}
30.
WebSocket
nginx • Request HTTP (502) • tcp_proxy Patch • https://github.com/yaoweibin/nginx_tcp_proxy_module
31.
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; } }
32.
WebSocket
router • HTTP Request/Response HTTP • WebSocket Frames • HTTP
33.
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
34.
WebSocket Upgrade: websocket 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
35.
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
36.
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
37.
38.
socket.io
+ transports{‘websocket’} :)
39.
move forward
40.
timeline • cloud foundry •
websocket • orz • code reading • ←
41.
next step •
• pull request • brush up
42.
problem •
vps ... Cent OS, 512MB plan • Cloud Foundry • 1GB memory • Ubuntu10.04.2 •
43.
router
( ∀ ) http://www.slideshare.net/derekcollison/design-of-cloud-foundry
44.
•
NATS • routing
45.
config/routing.yml
46.
demo
47.
git clone https://github.com/KensakuKOMATSU/cf_router
48.
$ cd bin $
./router
49.
I love BDD
Benkyo-kai Driven Development
50.
Thank you!! http://twitter.com/komasshu
Hinweis der Redaktion
\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
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Jetzt herunterladen