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
440
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
460
Hacking Phoenix Performance
ohr486
1
320
Plug & WAF
ohr486
2
470
elixirをプロダクションに導入する
ohr486
1
620
IEx maniacs
ohr486
4
570
Hack and Read Elixir
ohr486
2
700
Running App on AppRunner
ohr486
0
750
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
810
Other Decks in Technology
See All in Technology
彩の国で始めよう。おっさんエンジニアから共有したい、当たり前のことを当たり前にする技術
otsuki
0
140
サーバレス、コンテナ、データベース特化型機能をご紹介。CloudWatch をもっと使いこなそう!
o11yfes2023
0
170
大AI時代で輝くために今こそドメインにディープダイブしよう / Deep Dive into Domain in AI-Agent-Era
yuitosato
1
360
IVRyにおけるNLP活用と NLP2025の関連論文紹介
keisukeosone
0
190
LLM as プロダクト開発のパワードスーツ
layerx
PRO
1
240
バックオフィス向け toB SaaS バクラクにおけるレコメンド技術活用 / recommender-systems-in-layerx-bakuraku
yuya4
5
530
Ops-JAWS_Organizations小ネタ3選.pdf
chunkof
2
160
AWSの新機能検証をやる時こそ、Amazon Qでプロンプトエンジニアリングを駆使しよう
duelist2020jp
1
160
Running JavaScript within Ruby
hmsk
3
320
Automatically generating types by running tests
sinsoku
2
2.7k
アジャイル脅威モデリング#1(脅威モデリングナイト#8)
masakane55
3
200
LangfuseでAIエージェントの 可観測性を高めよう!/Enhancing AI Agent Observability with Langfuse!
jnymyk
1
220
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
23
1.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
53k
Facilitating Awesome Meetings
lara
54
6.3k
Into the Great Unknown - MozCon
thekraken
37
1.7k
Building Adaptive Systems
keathley
41
2.5k
Side Projects
sachag
452
42k
How to train your dragon (web standard)
notwaldorf
90
6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
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?