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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ohr486
February 27, 2019
Technology
470
1
Share
serverless ruby with jets
ohr486
February 27, 2019
More Decks by ohr486
See All by ohr486
負荷試験Night#1 負荷試験2023年トレンド
ohr486
17
4.8k
Elixir/PhoenixによるWeb開発の現場から
ohr486
1
650
Hacking Phoenix Performance
ohr486
1
400
Plug & WAF
ohr486
2
550
elixirをプロダクションに導入する
ohr486
1
730
IEx maniacs
ohr486
4
660
Hack and Read Elixir
ohr486
2
810
Running App on AppRunner
ohr486
0
860
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
900
Other Decks in Technology
See All in Technology
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.5k
自作エディターをOSSにして分かった、一人に刺さる開発が世界を動かす理由
shinyasaita
0
150
Pythonでベイズモデリング
soogie
0
170
AI全盛の今だからこそ、あえてもう一度振り返るAPIの基礎
smt7174
3
140
AWS WAFの運用を地道に改善し、自社で運用可能にするプラクティス
andpad
1
650
How to learn AWS Well-Architected with AWS BuilderCards: Security Edition
coosuke
PRO
0
200
AWSアップデートから考える継続的な運用改善
toru_kubota
2
330
AIのために、AIを使った、Effect-TSからの脱却 〜テストを活用した安全なリファクタリングの進め方〜
bitkey
PRO
1
190
DI コンテナ自動生成ツールを実装してみた / intro-autodi
uhzz
0
760
GitHub Copilot appで変わる GitHub Copilot CLI開発体験
tomokusaba
0
110
実例から学ぶ GuardDuty(SSH BruteForce)調査の全体フローと勘所【SecurityJAWS】
cscengineer
PRO
0
180
生成AI時代に信頼性をどう保ち続けるか - Policy as Code の実践
akitok_
1
530
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
52k
Building an army of robots
kneath
306
46k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
250
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
430
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
370
The Curious Case for Waylosing
cassininazir
1
350
Utilizing Notion as your number one productivity tool
mfonobong
4
300
Abbi's Birthday
coloredviolet
2
7.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Raft: Consensus for Rubyists
vanstee
141
7.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
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?