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
serverless ruby with jets
Search
ohr486
February 27, 2019
Technology
1
450
serverless ruby with jets
ohr486
February 27, 2019
Tweet
Share
More Decks by ohr486
See All by ohr486
負荷試験Night#1 負荷試験2023年トレンド
ohr486
17
4.7k
Elixir/PhoenixによるWeb開発の現場から
ohr486
1
490
Hacking Phoenix Performance
ohr486
1
350
Plug & WAF
ohr486
2
490
elixirをプロダクションに導入する
ohr486
1
640
IEx maniacs
ohr486
4
600
Hack and Read Elixir
ohr486
2
730
Running App on AppRunner
ohr486
0
790
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
840
Other Decks in Technology
See All in Technology
新規事業におけるAIリサーチの活用例
ranxxx
0
140
Wasmで社内ツールを作って配布しよう
askua
0
120
株式会社島津製作所_研究開発(集団協業と知的生産)の現場を支える、OSS知識基盤システムの導入
akahane92
1
1.2k
The Madness of Multiple Gemini CLIs Developing Simultaneously with Jujutsu
gunta
1
2.5k
AI駆動開発 with MixLeap Study【大阪支部 #3】
lycorptech_jp
PRO
0
200
CSPヘッダー導入で実現するWebサイトの多層防御:今すぐ試せる設定例と運用知見
llamakko
1
200
AIを使っていい感じにE2Eテストを書けるようになるまで / Trying to Write Good E2E Tests with AI
katawara
3
1.6k
「手を動かした者だけが世界を変える」ソフトウェア開発だけではない開発者人生
onishi
10
3.9k
手動からの解放!!Strands Agents で実現する総合テスト自動化
ideaws
2
290
SAE J1939シミュレーション環境構築
daikiokazaki
0
150
Recoil脱却の現状と挑戦
kirik
2
340
AI エンジニアの立場からみた、AI コーディング時代の開発の品質向上の取り組みと妄想
soh9834
6
260
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
760
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
The Pragmatic Product Professional
lauravandoore
35
6.8k
Adopting Sorbet at Scale
ufuk
77
9.5k
For a Future-Friendly Web
brad_frost
179
9.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
GraphQLとの向き合い方2022年版
quramy
49
14k
The Cult of Friendly URLs
andyhume
79
6.5k
Transcript
Serverless Ruby with Jets meguro.rb#24 おーはら@ohrdev
agenda • @me • what’s Jets • jets commands •
jets architecture • ディレクトリ構造 • jets routing/controller/view/model • デモ • 所感
@me • おーはら ◦ twitter: @ohrdev ◦ github: ohr486 •
コミュニティ/仕事 ◦ ドリコム ▪ enza事業本部 PF開発部 • インフラ・基盤まわり ▪ テクノロジーブランディング • Techカンファレンスの協賛・スポンサーなど ◦ Japan Elixir Association ▪ tokyo.ex, Erlang&Elixir Fest, ElixirConfJapan • Like ◦ 寺社仏閣, 写経(仏教的なやつ), 仏像制作, 丸太収集 ◦ 電波(アマチュア無線)、人工衛星
https://elixir-fest.jp 宣伝
サーバーを管理 するのめんどく さい
We ❤ serverless
AWS re:Invent 2018
what’s Jets • Ruby製のWebApplicationFramework • serverless ◦ AWSのLambda/ApiGatewayを基盤としている • Railsっぽいコード、コマンド
• Railsっぽいディレクトリ構造、レール
Jets commands(1)
Jets commands(2)
Jets architecture deployment releases routing job controller#action web server front
data backend cron
ディレクトリ構造
routing
controller
view
model
デモ • jets new • jets generate scaffold Post title:string
• jets db:create db:migrate • jets server • open localhost:8888 • jets deploy • AWS resources walkthrough
所感 • ◦ サーバー/トラフィックを考えなくて良いのはうれしい ◦ ローカルでも開発できる ◦ Railsの感覚で開発できる • ◦
AWSリソースが大量に作成される ◦ 全てのrails用gemが使えるわけではない (当然といえば当然) ◦ バージョン管理/無停止更新 ▪ ベストプラクティスはまだない? ◦ ローカルサーバーの性能、結構遅い?(ベンチ取ってないから不明 ◦ AWS only… GCP? Azure?