Treasure Island -- Concurrency in JRuby

1,142 views
1,054 views

Published on

talk given by @phuesler and me on 2012-04-19 at railsberry 2012 in krakow, poland

Published in: Technology, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,142
On SlideShare
0
From Embeds
0
Number of Embeds
51
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Treasure Island -- Concurrency in JRuby

  1. 1. Treasure Island
  2. 2. TourGuides
  3. 3. @tlossen
  4. 4. @phuesler
  5. 5. “The Free Lunch is Over.” — Herb Sutter (2005)
  6. 6. Concurrency
  7. 7. Fin?
  8. 8. Concurrency
  9. 9. Multi Core
  10. 10. ThreadConcurrency
  11. 11. !fork()
  12. 12. Rubies!!!
  13. 13. GIL
  14. 14. http://igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/
  15. 15. Ruby MRI 1.8 X REE 1.8 XRuby MRI 1.9 X IronRuby (✔) Maglev ? Rubinius ✔ JRuby ✔ MacRuby ✔
  16. 16. JRuby
  17. 17. Java Island
  18. 18. Multi-Threading
  19. 19. Evil?
  20. 20. java.util.concurrent
  21. 21. AtomicBoolean
  22. 22. CountDown Latch
  23. 23. CyclicBarrier
  24. 24. Executor
  25. 25. Future
  26. 26. Actors
  27. 27. Bad Actors
  28. 28. and thenominees are...
  29. 29. MRI
  30. 30. Better Actors
  31. 31. Erlang
  32. 32. Scala
  33. 33. Rubinius
  34. 34. JRuby
  35. 35. Frameworks
  36. 36. Akka
  37. 37. Scala
  38. 38. Heavily Inspired by Erlang
  39. 39. SimpleConcurrency
  40. 40. Distributed
  41. 41. FaultTolerant
  42. 42. Supervisors
  43. 43. Fast
  44. 44. Can it be used with JRuby?
  45. 45. Yes*
  46. 46. Moarrrrr!!!!
  47. 47. STM
  48. 48. Evented
  49. 49. Disruptor
  50. 50. http://martinfowler.com/articles/lmax.html
  51. 51. Q&A
  52. 52. “There ain’t no suchthing as a free lunch.” — Robert A. Heinlein ❦
  53. 53. Links• “The Free Lunch Is Over” (Herb Sutter, 2005)• “Real-World Concurrency” (Bryan Cantrill, Jeff Bonwick, 2008)• “Dont Fear the Threads” (David Copeland, 2012)• “Concurrency is not Parallelism” (Rob Pike, 2012)• “The LMAX Architecture” (Martin Fowler, 2011)
  54. 54. CreditsAjith Kumar (Flickr)tontoncopt (Flickr)Hatem Riahi (Flickr)Stefanie (Flickr)
  55. 55. CreditsBarry Skeates (Flickr)Hillary White (Flickr)David Thompson (Flickr)“Dope Zebra”, Rhett & Link

×