Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
460
serverless ruby with jets
ohr486
February 27, 2019
Tweet
Share
More Decks by ohr486
See All by ohr486
負荷試験Night#1 負荷試験2023年トレンド
ohr486
17
4.8k
Elixir/PhoenixによるWeb開発の現場から
ohr486
1
590
Hacking Phoenix Performance
ohr486
1
370
Plug & WAF
ohr486
2
520
elixirをプロダクションに導入する
ohr486
1
690
IEx maniacs
ohr486
4
630
Hack and Read Elixir
ohr486
2
760
Running App on AppRunner
ohr486
0
820
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
860
Other Decks in Technology
See All in Technology
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
2
200
Amazon Connect アップデート! AIエージェントにMCPツールを設定してみた!
ysuzuki
0
140
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.7k
オープンソースKeycloakのMCP認可サーバの仕様の対応状況 / 20251219 OpenID BizDay #18 LT Keycloak
oidfj
0
180
[Neurogica] 採用ポジション/ Recruitment Position
neurogica
1
130
特別捜査官等研修会
nomizone
0
580
なぜ あなたはそんなに re:Invent に行くのか?
miu_crescent
PRO
0
210
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
980
通勤手当申請チェックエージェント開発のリアル
whisaiyo
3
470
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
1
410
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.4k
LayerX QA Night#1
koyaman2
0
270
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.5k
A Soul's Torment
seathinner
1
2k
The untapped power of vector embeddings
frankvandijk
1
1.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
29
Chasing Engaging Ingredients in Design
codingconduct
0
85
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
28
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
410
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
0
96
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?