際際滷

際際滷Share a Scribd company logo
PARALLEL
PROCESSING WITH
RUBY
Dilum Navanjana
dilumn dilumn_
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby
PARALLEL
PROCESSING
&
CONCURRENCY
Parallel processing with ruby
Parallel processing with ruby
Ruby GIL??
Parallel processing with ruby
https://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/ - By Ilya Grigorik
According to the Internet
 Ruby has a Global Interpreter Lock (GIL), aka Global
Virtual Machine Lock (GVL)
 The GIL is soulless, heartless, and pure evil
 The GIL hates you and wants you to be miserable
 The GIL eats babies for breakfast, kittens for desert,
and puppies for a midnight snack
 The GIL is the sole cause of climate change
 If there was no GIL there would be no war
Source - Jerry D'Antonio (Everything You Know About The GIL Is Wrong)
https://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil - Jesse Storimer
https://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil - Jesse Storimer
Parallel processing with ruby
Thread 1
Thread 1
Thread 2
Thread 2
Thread 1
https://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil - Jesse Storimer
Parallel processing with ruby
JRuby
Are you safe with Ruby
MRI??
Parallel processing with ruby
Shared
Mutable
Data
Ruby 3 with Guild
http://olivierlacan.com/posts/concurrency-in-ruby-3-with-guilds/
http://olivierlacan.com/posts/concurrency-in-ruby-3-with-guilds/
Fiber vs Thread
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby
Parallel processing with ruby

More Related Content

Parallel processing with ruby