$30 off During Our Annual Pro Sale. View Details »
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
97
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
250
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
490
Spelunking in Ruby
jasonrclark
2
590
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
150
ラッコキーワード サービス紹介資料
rakko
0
1.8M
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
How to Ace a Technical Interview
jacobian
281
24k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
400
Designing for humans not robots
tammielis
254
26k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
66
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
38
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
190
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