Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
94
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
410
Rack 'em, Stack 'em, Web Apps
jasonrclark
2
480
Programming in the Small: Kids, Chickens, and Ruby
jasonrclark
1
240
Real World Docker for the Rubyist
jasonrclark
2
400
GDB: A Gentle Intro
jasonrclark
1
690
Peeking Into Ruby
jasonrclark
0
190
Testing The Multiverse - OS Bridge 2015
jasonrclark
0
170
Testing the Multiverse
jasonrclark
0
480
Spelunking in Ruby
jasonrclark
2
580
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
527
40k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
A better future with KSS
kneath
240
18k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
RailsConf 2023
tenderlove
30
1.3k
GitHub's CSS Performance
jonrohan
1032
470k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
Writing Fast Ruby
sferik
630
62k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
How to Ace a Technical Interview
jacobian
280
24k
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