Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Docker +
CoreOS +
Google Compute Engine
で
自動スケール・
分散レイトレ
@peryaudo
レイトレがしたい!
GCEで分散レイトレ
WebGLの限界
(参考:Shadertoy)
Oculus Rift
Dockerで楽に実現
構成
workerの自動起動
1.Private Registryを立てる
2.cloud-config.ymlを書く
3.GCE REST APIを叩く

(with cloud-config)
#cloud-config
hostname: <hostname>
!
coreos:
units:
- name: lteworker.service
command: start
content: ¦
[Unit]
Description=...
単純に自動スケール
成果物
まとめ
• Docker, etc.のおかげで簡単!
• レイトレは楽しい!
Docker+CoreOS+GCEで自動スケール分散レイトレ
@peryaudo
Docker+CoreOS+GCEで自動スケール分散レイトレ
Upcoming SlideShare
Loading in …5
×

Docker+CoreOS+GCEで自動スケール分散レイトレ

14,784 views

Published on

Published in: Technology, Business
  • If you need your papers to be written and if you are not that kind of person who likes to do researches and analyze something - you should definitely contact these guys! They are awesome ⇒⇒⇒WRITE-MY-PAPER.net ⇐⇐⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ❤❤❤ http://bit.ly/2ZDZFYj ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2ZDZFYj ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Docker+CoreOS+GCEで自動スケール分散レイトレ

  1. 1. Docker + CoreOS + Google Compute Engine で 自動スケール・ 分散レイトレ @peryaudo
  2. 2. レイトレがしたい!
  3. 3. GCEで分散レイトレ
  4. 4. WebGLの限界 (参考:Shadertoy)
  5. 5. Oculus Rift
  6. 6. Dockerで楽に実現
  7. 7. 構成
  8. 8. workerの自動起動 1.Private Registryを立てる 2.cloud-config.ymlを書く 3.GCE REST APIを叩く
 (with cloud-config)
  9. 9. #cloud-config hostname: <hostname> ! coreos: units: - name: lteworker.service command: start content: ¦ [Unit] Description=LTE Worker Container ! [Service] ExecStartPre=/bin/sh -xc "/usr/bin/docker pull <lte_worker_url>" ExecStartPre=/bin/sh -xc "mkdir -p /tmp/lte" ExecStart=/bin/sh -xc "/usr/bin/docker run -v /tmp/lte:/tmp/lte -e REDIS_HOST=<redis_server> -e WORKER_NAME=<hostname> -w /home/default <lte_worker_url> /bin/worker" Restart=on-failure RestartSec=30 ! [Install] WantedBy=multi-user.target ! [EOF]
  10. 10. 単純に自動スケール
  11. 11. 成果物
  12. 12. まとめ • Docker, etc.のおかげで簡単! • レイトレは楽しい!
  13. 13. Docker+CoreOS+GCEで自動スケール分散レイトレ @peryaudo

×