Slide 1

Slide 1 text

Akka intro! Amsterdam Scala Academy III! Dec 19 ‘2013 +

Slide 2

Slide 2 text

Akka • Akka is a toolkit and runtime for building highly concurrent, distributed, and fault tolerant event- driven applications on the JVM.

Slide 3

Slide 3 text

Akka • Higly concurrent <— Actors! • Fault tolerance <— Supervision! • Distributed <— Remoting / Cluster akka-actor, akka-cluster, akka-persistence, akka-io, akka-osgi, akka-testkit, etc

Slide 4

Slide 4 text

Akka • Failure: Deal with it. Viktor Klang
 http://skillsmatter.com/podcast/scala/viktor-klang! • The road to akka cluster. Jonas Boner
 http://skillsmatter.com/podcast/scala/jonas-boner

Slide 5

Slide 5 text

Actors • Actor computation model —> Carl Hewitt, 1973.! • An actor is a computational entity that, in response to a message it receives, can concurrently:! • send a finite number of messages to other actors;! • create a finite number of new actors;! • designate the behavior to be used for the next message it receives.! • Actors in Scala: Scalaz, Liftweb, Scala actors, Akka

Slide 6

Slide 6 text

Green Belt Akka • Akka concepts! • https://github.com/ajantis/akka-meetup-sthlm/ blob/master/GREEN_BELT_AKKA.md

Slide 7

Slide 7 text

Practice • Akka Kata in Scala. Authors: ! ! • Henrik Engström : @h3nk3! • Björn Antonsson : @bantonsson! • http://github.com/ajantis/akka-meetup-sthlm! • > git clone [email protected]:ajantis/akka-meetup- sthlm.git! • > sbt gen-idea / sbt eclipse

Slide 8

Slide 8 text

Practice

Slide 9

Slide 9 text

Practice • To implement:! • BettingService! • BettingProcessor

Slide 10

Slide 10 text

Thanks! • Dmitry Ivanov ! • twitter: @idajantis! • github: ajantis