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
390
serverless ruby with jets
ohr486
February 27, 2019
Tweet
Share
More Decks by ohr486
See All by ohr486
負荷試験Night#1 負荷試験2023年トレンド
ohr486
17
4.4k
Elixir/PhoenixによるWeb開発の現場から
ohr486
1
290
Hacking Phoenix Performance
ohr486
1
240
Plug & WAF
ohr486
2
380
elixirをプロダクションに導入する
ohr486
1
520
IEx maniacs
ohr486
4
490
Hack and Read Elixir
ohr486
2
610
Running App on AppRunner
ohr486
0
610
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
700
Other Decks in Technology
See All in Technology
Classmethod流のPlatform Engineering / classmethod-platform-engineering-devio2024
tomoki10
0
470
GoとアクターモデルでES+CQRSを実践! / proto_actor_es_cqrs
ytake
1
150
LLMアプリケーションの評価の実践と課題 ~PharmaXにおける今後の展望~
pharma_x_tech
2
160
VPoEの視点から見た、ヘンリーがサーバーサイドKotlinを使う理由 / Why Server-side Kotlin 2024
cho0o0
1
420
AWSで”最小権限の原則”を実現するための考え方 /20240722-ssmjp-aws-least-privilege
opelab
10
4.3k
データベース研修 分析向けSQL入門【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
110
スレットハンティングについて知っておきたいこと
hacket
0
130
「我々はどこに向かっているのか」を問い続けるための仕組みづくり / Establishing a System for Continuous Inquiry about where we are
daitasu
0
170
[2024最新版]AWS Control Towerを使ったセキュアなマルチアカウント環境の作り方
hiashisan
0
270
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
4
1.3k
DevIO2024_レガシー運用からの脱却 -クラウド活用の実践事例とベストプラクティス-
jun2882
0
210
Classmethod Odyssey 登壇資料
yamahiro
0
390
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
353
29k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.9k
Mobile First: as difficult as doing things right
swwweet
219
8.8k
The Power of CSS Pseudo Elements
geoffreycrofte
64
5.2k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.5k
What's new in Ruby 2.0
geeforr
338
31k
Code Reviewing Like a Champion
maltzj
517
39k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Building Better People: How to give real-time feedback that sticks.
wjessup
357
18k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
20
7.2k
Building Your Own Lightsaber
phodgson
101
5.9k
Six Lessons from altMBA
skipperchong
24
3.2k
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?