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
100
0
Share
A Cautionary Tale: Threads and Forks
Jason R Clark
October 22, 2013
More Decks by Jason R Clark
See All by Jason R Clark
Failing Well
jasonrclark
0
450
Rack 'em, Stack 'em, Web Apps
jasonrclark
2
510
Programming in the Small: Kids, Chickens, and Ruby
jasonrclark
1
270
Real World Docker for the Rubyist
jasonrclark
2
430
GDB: A Gentle Intro
jasonrclark
1
710
Peeking Into Ruby
jasonrclark
0
210
Testing The Multiverse - OS Bridge 2015
jasonrclark
0
180
Testing the Multiverse
jasonrclark
0
510
Spelunking in Ruby
jasonrclark
2
610
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
How to build a perfect <img>
jonoalderson
1
5.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Code Review Best Practice
trishagee
74
20k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
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