Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Gaming PC on GCP
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Fumiaki MATSUSHIMA
July 17, 2020
Programming
820
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gaming PC on GCP
Quipper LT 会 #5
Fumiaki MATSUSHIMA
July 17, 2020
More Decks by Fumiaki MATSUSHIMA
See All by Fumiaki MATSUSHIMA
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
39
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
220
Learning from performance improvements on GraphQL Ruby
mtsmfm
1
1.4k
Ruby で作る Ruby (物理)
mtsmfm
1
320
GraphQL Ruby benchmark
mtsmfm
1
940
タイムアウトにご用心 / Timeout might break application state
mtsmfm
6
2.7k
Build REST API with GraphQL Ruby
mtsmfm
0
410
GraphQL Ruby をちょっとだけ速くした / Make graphql-ruby faster a bit
mtsmfm
1
810
How to introduce GraphQL to an existing React-Redux application
mtsmfm
1
340
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
240
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
3
460
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
4k
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
820
気持ちぃ〜角丸 Squircle
ryu1013
0
320
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
1.6k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
430
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
440
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
1
260
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
Designing Experiences People Love
moore
143
24k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
Building AI with AI
inesmontani
PRO
1
1.3k
My Coaching Mixtape
mlcsv
0
360
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Typedesign – Prime Four
hannesfritz
42
3.2k
Abbi's Birthday
coloredviolet
4
10k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
Navigating Weather and Climate Data
rabernat
0
560
Transcript
Gaming PC on GCP ゲーミング PC on GCP @mtsmfm Fumiaki
Matsushima
Gaming PC on GCP ➔ Web Dev at Quipper ➔
Ruby と麻雀と DbD が好き ➔ 西日暮里.rb 主催 ➔ GraphQL Tokyo 主催 @mtsmfm.inspect
Gaming PC on GCP 3 https://nishinipporirb.doorkeeper.jp/events/108780
Gaming PC on GCP 4 ゲーム - 好き - PS4
か Switch でやってる - PC でしかできないやつもある - ゲーミング PC 組みたくない - 部屋が狭い - どれくらいやるかわからない
Gaming PC on GCP 「サーバは増やすんじゃなくて 時代はもうクラウド」
Gaming PC on GCP 6 クラウドゲーミング - Google Stadia -
$9.9 / 月 - 日本はまだ - GeForce NOW - 1800 円 / 月 (税別) - 日本でもやってる - ソフトバンクとやってる
Gaming PC on GCP GeForce NOW 7 - Pros -
安い - Cons - 対応タイトルが限られてる - 自分の Steam 画面になるけれど、メニューで選んだ ゲームしか起動できないようになっている - リモートデスクトップっぽい挙動をしているので、理屈 上は何でもいけそうだが...
Gaming PC on GCP DaaS (Desktop as a Service) 8
- GPU 使えるところがほとんどない? - 知ってたら教えて下さい - そもそも個人向けがあんまりない - AWS (Amazon WorkSpaces) - 2vCPU 7.5Gメモリ 50G ディスク $62/月 or $14 + $0.6/時 - GPU 足すと 8vCPU 15Gメモリ $951/月 or $30 + $2.41/時 - 固定料金つらい - 8vCPUも要らないのでは?
Gaming PC on GCP VM 立てる 9 - AWS (EC2)
- Windows だと1秒で上げ下げしても1時間課金 - GPU、CPU、メモリの組み合わせが固定 - Azure - 6コア 56Gメモリ - そんなに要らないので安くしたい - GCP (GCE) - Windows でも1分単位課金 - CPU とメモリを柔軟にいじれる
Gaming PC on GCP リモートデスクトップでゲーム 10 - RDP - 若干カクつく
- VNC - 同マシン内すらカクついてる印象
Gaming PC on GCP 11 https://troches.jp/contents/tech/514
Gaming PC on GCP リモートデスクトップでゲーム 12 - RDP - 若干カクつく
- VNC - 同マシン内すらカクついてる印象 - Parsec - すご...
Gaming PC on GCP Parsec 13 https://parsecgaming.com/
Gaming PC on GCP Parsec 14 - ぬるぬる動くリモートデスクトップツール - 本当に驚くので一度試してほしい
- オフライン対戦/協力ゲームをオンラインでやる のが主目的 (?) - BUD (Better User Diagram) という独自プロト コルを UDP 上に実装
Gaming PC on GCP 15 https://www.slideshare.net/BenjyBoxer/building-a-udp-protocol-for-cloud-gaming
Gaming PC on GCP 導入 16 - GPU 有効にした Windows
を GCE で起動 - ちょっとでも安くしたいので preemptive - Parsec-Cloud-Preparation-Tool を流す - 終わり
Gaming PC on GCP 17 https://github.com/parsec-cloud/Parsec-Cloud-Preparation-Tool
Gaming PC on GCP Parsec-Cloud-Preparation-Tool 18 - Graphic Driver の設定とかしてくれる
- アイドル状態ならシャットダウンとかの設定も仕込んでくれる
Gaming PC on GCP Parsec-Cloud-Preparation-Tool 19 - Graphic Driver の設定とかしてくれる
- アイドル状態ならシャットダウンとかの設定も仕込んでくれる - が、ゲーム開きっぱだと無力 - ある晩止め忘れて昼頃気づいたら800円って書いてあっ た
Gaming PC on GCP 20 https://github.com/mtsmfm/parsec-instance-manager つらかったのでつくった
Gaming PC on GCP 21 Parsec instance manager - 起動終了ができる
- 起動したら Push 通知 - 5分間 Parsec クライアント がいないと勝手に終了 - 終了も Push 通知
Gaming PC on GCP 22 Cloud Run Rails GCE Parsec
API くそざこ なめくじUI (React + GraphQL)
Gaming PC on GCP 23 Cloud PubSub FireStore FCM GCE
Parsec API Cloud Run Rails Cloud Scheduler 毎分 ポーリング 結果 Push 通知 (Service Worker)
Gaming PC on GCP 24 Cloud PubSub FireStore FCM Cloud
Run Rails GCE Parsec API Cloud Run Rails Cloud Scheduler 毎分 ポーリング 結果 Push 通知 (Service Worker) くそざこ なめくじUI (React + GraphQL)
Gaming PC on GCP 12時間つかった料金 25 - 条件: 2vCPU 7.5GBメモリ
50G ストレージ - Windows ライセンス 120円 - CPU 23円 - RAM 12円 - GPU 404円 - 本体 143円、ライセンス 261円 - ネットワーク 53円 - ストレージ 125円
Gaming PC on GCP 12時間つかった料金 => 737円 26 - 条件:
2vCPU 7.5GBメモリ 50G ストレージ - Windows ライセンス 120円 - CPU 23円 - RAM 12円 - GPU 404円 - 本体 143円、ライセンス 261円 - ネットワーク 53円 - ストレージ 125円
Gaming PC on GCP 2 vCPU 7.5GB メモリ 62円/時
Gaming PC on GCP 「ゲームは1日1時間」
Gaming PC on GCP 62 * 30 = 1860
Gaming PC on GCP 30 https://cloudgaming.mb.softbank.jp/
Gaming PC on GCP ご清聴ありがとうございました 31 - GeForce NOW 安すぎる
- うどん条例レベルの制限でようやく同額 - どんなゲームでもできるようになるのに期待 - 62円/時で遊べた - Preemptive、2 vCPU、7.5 GB メモリ、Tesla T4、スマホ解像度 - Preemptive なので突然死する - インスタンス落とし忘れてると - 拙作のツール使うと自動で止めたりできる