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
A Cautionary Tale: Threads and Forks
Search
Jason R Clark
October 22, 2013
0
100
A Cautionary Tale: Threads and Forks
Jason R Clark
October 22, 2013
Tweet
Share
More Decks by Jason R Clark
See All by Jason R Clark
Failing Well
jasonrclark
0
430
Rack 'em, Stack 'em, Web Apps
jasonrclark
2
490
Programming in the Small: Kids, Chickens, and Ruby
jasonrclark
1
260
Real World Docker for the Rubyist
jasonrclark
2
410
GDB: A Gentle Intro
jasonrclark
1
700
Peeking Into Ruby
jasonrclark
0
190
Testing The Multiverse - OS Bridge 2015
jasonrclark
0
170
Testing the Multiverse
jasonrclark
0
490
Spelunking in Ruby
jasonrclark
2
600
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
55
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
180
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
440
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Transcript
A Cautionary Tale Jason Clark @jasonrclark Ruby Agent Engineer 1
Tuesday, October 22, 13
2 Forks http://www.flickr.com/photos/lytfyre/4034068712/ Tuesday, October 22, 13
3 Threads http://www.flickr.com/photos/avlxyz/5161263146/ Tuesday, October 22, 13
A Simple Process 4 Tuesday, October 22, 13
A Simple Process 5 fork() Tuesday, October 22, 13
fork() A Simple Process 6 Tuesday, October 22, 13
7 Locks http://www.flickr.com/photos/49680546@N07/4574985367/ Tuesday, October 22, 13
Lock It Up 8 fork() @lock Tuesday, October 22, 13
@loick fork() Lock It Up 9 @lock Tuesday, October 22,
13
Avoiding Deadlocks 10 https://github.com/resque/resque/issues/1101 Tuesday, October 22, 13
If... 11 Tuesday, October 22, 13
If You Can Avoid It... 12 Tuesday, October 22, 13
13 Tuesday, October 22, 13