treasure island -- concurrency in jruby

Post on 06-May-2015

805 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

Treasure Island

Tour Guides

@tlossen

@phuesler

“The Free Lunch is Over.”— Herb Sutter (!""#)

Concurrency

Fin?

Concurrency

Multi Core

Thread Concurrency

!fork()

Rubies!!!

GIL

Ruby MRI 1.8 X

REE 1.8 X

Ruby MRI 1.9 X

IronRuby (✔)

Maglev ?

Rubinius ✔

JRuby ✔

MacRuby ✔

JRuby

Java Island

Multi-Threading

Evil?

java.util.concurrent

AtomicBoolean

CountDownLatch

Cyclic Barrier

Executor

Future

Actors

Bad Actors

and the nominees are...

MRI

Better Actors

Erlang

Scala

Rubinius

JRuby

Frameworks

Akka

Scala

Heavily Inspired by Erlang

Simple Concurrency

Distributed

Fault Tolerant

Supervisors

Fast

Can it be used with JRuby?

Yes*

Moarrrrr!!!!

STM

Evented

Disruptor

Q & A

“There ain’t no such thing as a free lunch.”— Robert A. Heinlein

CreditsAjith Kumar (Flickr)

tontoncopt (Flickr)

Hatem Riahi (Flickr)

Stefanie (Flickr)

CreditsBarry Skeates (Flickr)

Hillary White (Flickr)

David Thompson (Flickr)

“Dope Zebra”, Rhett & Link

top related