Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
serverless ruby with jets
Search
ohr486
February 27, 2019
Technology
500
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
serverless ruby with jets
ohr486
February 27, 2019
Transcript
18 slides
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?
More Decks by ohr486
See All by ohr486
負荷試験Night#1 負荷試験2023年トレンド
ohr486
17
4.9k
Elixir/PhoenixによるWeb開発の現場から
ohr486
1
690
Hacking Phoenix Performance
ohr486
1
440
Plug & WAF
ohr486
2
580
elixirをプロダクションに導入する
ohr486
1
780
IEx maniacs
ohr486
4
720
Hack and Read Elixir
ohr486
2
850
Running App on AppRunner
ohr486
0
900
sponsor-talk-drecom-heisei-ruby-kaigi
ohr486
0
930
Other Decks in Technology
See All in Technology
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
140
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
280
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
110
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
180
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
200
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
290
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
160
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
250
マネージャーをエスパーにしない マネジメントされる側から始める、働きやすい現場づくり
comi190327
1
850
20261119_AgentCore
takuyay0ne
1
180
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
170
Is the Website Dying?
miriamschwab
0
120
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
The untapped power of vector embeddings
frankvandijk
2
2k
Discover your Explorer Soul
emna__ayadi
2
1.3k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
540
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k