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
Rack for beginners
Search
Cam Huynh
March 30, 2016
Programming
0
70
Rack for beginners
Rack for beginners:
- What is Rack and How to Rack?
- How to chain Rack Middleware?
Cam Huynh
March 30, 2016
Tweet
Share
More Decks by Cam Huynh
See All by Cam Huynh
Reddit Ruby Conf 2016 Recap
hqc
0
120
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
50
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
95
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
hqc
0
69
FutureWorkz DevOps Workshop Intro
hqc
1
60
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
60
Monkey patching in Ruby
hqc
0
300
Optimize Rails Asset Pipeline Deployment
hqc
0
70
Other Decks in Programming
See All in Programming
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
870
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
1.3k
VS Code Update for GitHub Copilot
74th
1
470
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
260
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
130
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
270
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
590
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
320
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
4
1k
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
200
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.1k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Optimizing for Happiness
mojombo
379
70k
Balancing Empowerment & Direction
lara
1
380
RailsConf 2023
tenderlove
30
1.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
A Tale of Four Properties
chriscoyier
160
23k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Transcript
Rack for Beginner Cam Huynh @huynhquancam
Cam Huynh
[email protected]
What’s this talk about? • WHAT’s Rack and HOW to
Rack? • Is config.ru redundant? • Rack middlewares. • Live coding session.
I am Grandpa, ask me anything Before the steering wheels,
how do people drive cars?
IAG, AMA Well, someone tried this.
IAG, AMA Some even more creative
IAG, AMA Finally, we ended up with this genius invention.
Life before Rack This steering wheel problem happened to the
Ruby world too!
Life after Rack
Even when you switch the web-server
Or the ruby framework
What’s Rack? Rack provides a minimal interface between web-servers that
support Ruby and Ruby frameworks.
What’s Rack? • Web servers: Puma, Phusion Passenger, Unicorn, Thin,
etc. • Ruby applications: Sinatra, Grape, Ruby on Rails, Hanami, etc.
How to Rack?
How to Rack? rackup -p 9200
Rack Middleware Rack provides an easy way to chain the
middlewares / components to customize the way your requests / response behaves
None
Live coding
Questions