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
460
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
620
Hacking Phoenix Performance
ohr486
1
390
Plug & WAF
ohr486
2
540
elixirをプロダクションに導入する
ohr486
1
720
IEx maniacs
ohr486
4
640
Hack and Read Elixir
ohr486
2
800
Running App on AppRunner
ohr486
0
840
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
890
Other Decks in Technology
See All in Technology
AWS DevOps Agent or Kiro の使いどころを考える_20260402
masakiokuda
0
140
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
160
最大のアウトプット術は問題を作ること
ryoaccount
0
260
FlutterでPiP再生を実装した話
s9a17
0
240
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
170
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
qa
0
690
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
77k
自分をひらくと次のチャレンジの敷居が下がる
sudoakiy
5
1.6k
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
330
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
2.1k
Databricks Lakebaseを用いたAIエージェント連携
daiki_akimoto_nttd
0
110
Sansanの認証基盤を支えるアーキテクチャとその振り返り
sansantech
PRO
1
150
Featured
See All Featured
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Amusing Abliteration
ianozsvald
1
150
The Pragmatic Product Professional
lauravandoore
37
7.2k
Ruling the World: When Life Gets Gamed
codingconduct
0
190
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
81
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
510
Building an army of robots
kneath
306
46k
Ethics towards AI in product and experience design
skipperchong
2
250
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Navigating Team Friction
lara
192
16k
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?