0
Treasure Island
TourGuides
@tlossen
@phuesler
“The Free Lunch is Over.” — Herb Sutter (2005)
Concurrency
Fin?
Concurrency
Multi Core
ThreadConcurrency
!fork()
Rubies!!!
GIL
http://igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/
Ruby MRI 1.8   X  REE 1.8      XRuby MRI 1.9   X IronRuby      (✔)  Maglev        ?  Rubinius     ✔   JRuby       ✔ MacRub...
JRuby
Java Island
Multi-Threading
Evil?
java.util.concurrent
AtomicBoolean
CountDown  Latch
CyclicBarrier
Executor
Future
Actors
Bad Actors
and thenominees are...
MRI
Better Actors
Erlang
Scala
Rubinius
JRuby
Frameworks
Akka
Scala
Heavily Inspired   by Erlang
SimpleConcurrency
Distributed
FaultTolerant
Supervisors
Fast
Can it be used with JRuby?
Yes*
Moarrrrr!!!!
STM
Evented
Disruptor
http://martinfowler.com/articles/lmax.html
Q&A
“There ain’t no suchthing as a free lunch.” — Robert A. Heinlein          ❦
Links• “The Free Lunch Is Over” (Herb Sutter, 2005)• “Real-World Concurrency” (Bryan Cantrill, Jeff    Bonwick, 2008)•   “...
CreditsAjith Kumar (Flickr)tontoncopt (Flickr)Hatem Riahi (Flickr)Stefanie (Flickr)
CreditsBarry Skeates (Flickr)Hillary White (Flickr)David Thompson (Flickr)“Dope Zebra”, Rhett & Link
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Upcoming SlideShare
Loading in...5
×

Treasure Island -- Concurrency in JRuby

834

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
834
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×