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
Fibered Rails
Search
Amit Kumar
February 14, 2011
Technology
0
74
Fibered Rails
Amit Kumar
February 14, 2011
Tweet
Share
More Decks by Amit Kumar
See All by Amit Kumar
DevOps culture in a BANK
toamitkumar
0
120
Digital Transformation of an Enterprise - 2 speed IT & Agile
toamitkumar
0
370
RubyMotion - Building Interactive Data Visualization Charts
toamitkumar
2
4.2k
Using Ruby for Building iOS Apps
toamitkumar
3
2.8k
RubyMotion: Rubyizing iOS development
toamitkumar
2
3.6k
Your first RubyMotion Application
toamitkumar
2
92
Big Data Enterprisey Analytics and Ruby
toamitkumar
4
1.2k
Micro-Blogging for The Enterprise (MongoDB)
toamitkumar
0
250
Other Decks in Technology
See All in Technology
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
200
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
160
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
150
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
140
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
130
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
300
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
130
UI State設計とテスト方針
rmakiyama
2
690
MLOps の現場から
asei
7
660
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
280
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
110
3年でバックエンドエンジニアが5倍に増えても破綻しなかったアーキテクチャ そして、これから / Software architecture that scales even with a 5x increase in backend engineers in 3 years
euglena1215
4
800
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
46
7k
Optimising Largest Contentful Paint
csswizardry
33
3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
A Philosophy of Restraint
colly
203
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
4 Signs Your Business is Dying
shpigford
182
21k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
It's Worth the Effort
3n
183
28k
Building an army of robots
kneath
302
44k
Visualization
eitanlees
146
15k
The World Runs on Bad Software
bkeepers
PRO
66
11k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Transcript
Fibered Rails - Amit Kumar
Many Scalable Options Cache Memcached Redis MongoDB
Message Queues AMQP Resque Delayed Job Asynchronous + Concurrency Frameworks that implement Reactor Pattern – EventMachine, Twisted, Node.js
What are Fibers? Traditional threads: preempted by OS
What are Fibers? Fibers – are means of creating code
blocks which can be paused and resumed by application developer
Fibers + EventMachine EventMachine – EventMachine implements a fast, single-threaded
engine for arbitrary network communications.
Fibers + EventMachine Row 1 Row 2 Row 3 Row
4 0 2 4 6 8 10 12 Column 1 Column 2 Column 3
Concurrency
Questions THANK YOU !