Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
bluemixを試した時の話
Search
Tomohiko Himura
April 03, 2016
Programming
0
740
bluemixを試した時の話
Tomohiko Himura
April 03, 2016
Tweet
Share
More Decks by Tomohiko Himura
See All by Tomohiko Himura
アジャイルはさておきMake People Awesomeしたい
eiel
0
48
レビューは最優先にするようにしている
eiel
0
170
再考 Fourkeys メトリクス
eiel
2
530
Test mockをSnapshot testする
eiel
0
62
devenvに入門した
eiel
0
46
関数プログラミングの考え方
eiel
0
110
逆コンウェイ作戦はフィードバックループを作るために 逆向きの流れをつくること (5分版)
eiel
0
200
組織のパフォーマンスを高めるために 第1話 学習と文化
eiel
0
150
チームとチームのチーム
eiel
1
1.9k
Other Decks in Programming
See All in Programming
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
130
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
使ってみよう Azure AI Document Intelligence
kosmosebi
2
300
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
260
Code Reviews
bkuhlmann
4
890
Ruby Pattern Matching
bkuhlmann
0
920
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
220
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
950
Semantic search with Django and pgvector
pauloxnet
0
240
PHPはいつから死んでいるかの調査
chiroruxx
1
390
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
2
110
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Happy Clients
brianwarren
92
6.4k
Infographics Made Easy
chrislema
238
18k
Product Roadmaps are Hard
iamctodd
44
9.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
The Language of Interfaces
destraynor
151
23k
Debugging Ruby Performance
tmm1
70
11k
Done Done
chrislema
178
15k
Writing Fast Ruby
sferik
621
60k
A better future with KSS
kneath
231
16k
Transcript
BluemixΛࢼͨ࣌͠ͷ 2016-04-02 LTۦಈ։ൃ
ͻΉΒ ͱͻ͜ 3݄͔ͬͨ͠ͷͰମௐ͕͍·͍ͪ ฒߦϓϩάϥϛϯά͕ؾʹͳΔ͓͝Ζ
Bluemixのアカウント つくりました
None
30日間は無料なので 使いたおしたい
アプリ起動までの手順 • アカウント作成 • bluemixコマンドインストール • cfコマンドインストール • Cloud Foundoryアプリ作成
• 雛形ダウンロード(いろいろ選べる) • bluemix login • cf push
二度目以降 • Cloud Foundoryアプリ作成 • 雛形ダウンロード(いろいろ選べる) • cf push
簡単
それより30日後の話だ
hubot用の環境として herokuからの鞍替えが流行り
できるだけ安く いろいろ動かしたい
࣌ؒ͋ͨΓ.#·Ͱແྉ
利用するメモリが 少なければ少ないほど有利
ͲΕͩͱઅͰ͖ΔͩΖ͏͔
nodejs • 74MB • express削って http モジュールしたら • 52MB
ruby • 75MB • rack + pumaで構成したら • 34MB
ϝϞϦ༻ྉ HP .# TXJGU .# QZUIPO .# QIQ .# OPEFKT
.# SVCZ .# OFU .# KBWB .#
注意点 • 実行すればメモリの使用量が増えることがあります • swiftは…かなりローレベルで処理してる • 課金は1アプリ単位なのか、全アプリ出なのか…は 知らない • メモリはコンパネだと64MBが最低
• manifest.xmlで設定するとより低くできる
まとめ • go強い • swift強い。。。書くの大変そう • デプロイしてないけど実はrustが強そう • ローカルではかったところ •
go 6MB • rust 1.5MB
蛇足 ローカルでいろんな言語でかいて遊んだ ϝϞϦ ඵؒॲཧ SVTU .# L IBTLFMM .# L
HP .# L OPEFKT .# L SVCZ .# L BLLBTDBMB .# L ॲཧྔ͕҆ఆ͠ͳ͍ $ weighttp -n 10000 -c 20 -t 4 -k http://localhost:3000 Ͱܭଌ
良いPaaSライフを