Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Concurrency
&
Parallelism
in Ruby
Dilum Navanjana
20 March 2016
Dilum Navanjana
dilumn dilumn_
Do you remember?
dilumn dilumn_
Those days…...
dilumn dilumn_
Pentium 10 Computers?
dilumn dilumn_
dilumn dilumn_
Are we facing the
technology transaction
correctly?
dilumn dilumn_
dilumn dilumn_
Parallelism
Asynchrony
Concurrency
dilumn dilumn_
Parallelism
dilumn dilumn_
Parallelism
• Two or more computations
• Executing at the same moment in time
dilumn dilumn_
Asynchrony
dilumn dilumn_
Concurrency
dilumn dilumn_
dilumn dilumn_
dilumn dilumn_
dilumn dilumn_
dilumn dilumn_
dilumn dilumn_
Actor Model
• Message System
• Supervisors
dilumn dilumn_
Synchronous Calls
dilumn dilumn_
Asynchronous Calls
dilumn dilumn_
Multiple Asynchronous Calls
dilumn dilumn_
Futures
dilumn dilumn_
dilumn dilumn_
Handle Deadlocks
• Safety First
• Prevent System Crashings
dilumn dilumn_
Detecting Deadlocks
Main
Queue
System
Queue
Core
Single Thread
dilumn dilumn_
Conclusion
• Multicore Processors & the future
• Parallelism / Asynchrony / Concurrency
• Ruby Platforms
• Celluloid
• Dea...
Questions??
dilumn dilumn_
Thank you!
dilumn dilumn_
Concurrency & Parallelism in Ruby
Concurrency & Parallelism in Ruby
Upcoming SlideShare
Loading in …5
×

Concurrency & Parallelism in Ruby

Concurrency & Parallelism became a popular topic in Computer Science because of Multi Core Processors. My talk is about, how we can create great Applications with full power of Concurrency & Parallelism by the help of Ruby

  • Be the first to comment

Concurrency & Parallelism in Ruby

  1. 1. Concurrency & Parallelism in Ruby Dilum Navanjana 20 March 2016
  2. 2. Dilum Navanjana dilumn dilumn_
  3. 3. Do you remember? dilumn dilumn_
  4. 4. Those days…... dilumn dilumn_
  5. 5. Pentium 10 Computers? dilumn dilumn_
  6. 6. dilumn dilumn_
  7. 7. Are we facing the technology transaction correctly? dilumn dilumn_
  8. 8. dilumn dilumn_
  9. 9. Parallelism Asynchrony Concurrency dilumn dilumn_
  10. 10. Parallelism dilumn dilumn_
  11. 11. Parallelism • Two or more computations • Executing at the same moment in time dilumn dilumn_
  12. 12. Asynchrony dilumn dilumn_
  13. 13. Concurrency dilumn dilumn_
  14. 14. dilumn dilumn_
  15. 15. dilumn dilumn_
  16. 16. dilumn dilumn_
  17. 17. dilumn dilumn_
  18. 18. dilumn dilumn_
  19. 19. Actor Model • Message System • Supervisors dilumn dilumn_
  20. 20. Synchronous Calls dilumn dilumn_
  21. 21. Asynchronous Calls dilumn dilumn_
  22. 22. Multiple Asynchronous Calls dilumn dilumn_
  23. 23. Futures dilumn dilumn_
  24. 24. dilumn dilumn_
  25. 25. Handle Deadlocks • Safety First • Prevent System Crashings dilumn dilumn_
  26. 26. Detecting Deadlocks Main Queue System Queue Core Single Thread dilumn dilumn_
  27. 27. Conclusion • Multicore Processors & the future • Parallelism / Asynchrony / Concurrency • Ruby Platforms • Celluloid • Deadlocks dilumn dilumn_
  28. 28. Questions?? dilumn dilumn_
  29. 29. Thank you! dilumn dilumn_

    Be the first to comment

    Login to see the comments

  • CharanaGayanagith

    Jun. 13, 2016
  • MilindaLaknath

    Jun. 14, 2016
  • OshanWisumperuma

    Jun. 16, 2016
  • ChathurikaMadhubhash

    Jul. 9, 2016

Concurrency & Parallelism became a popular topic in Computer Science because of Multi Core Processors. My talk is about, how we can create great Applications with full power of Concurrency & Parallelism by the help of Ruby

Views

Total views

899

On Slideshare

0

From embeds

0

Number of embeds

41

Actions

Downloads

7

Shares

0

Comments

0

Likes

4

×