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
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
400
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
We Have a Design System, Now What?
morganepeng
54
7.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
980
A designer walks into a library…
pauljervisheath
210
24k
[RailsConf 2023] Rails as a piece of cake
palkan
57
6.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
How to train your dragon (web standard)
notwaldorf
97
6.4k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
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