Akka is a toolkit and runtime for building highly concurrent, distributed, and fault-tolerant event-driven applications on the JVM.
Actors are the unit of execution in Akka. The Actor model is an abstraction that makes it easier to write correct concurrent, parallel and distributed systems. The Hello World example illustrates Akka basics.
Disclaimer: This kotlin project is based on the akka-quickstart-java example project made available by Lightbend.
Run this application with Maven:
$ mvn compile exec:exec
Under com.fpenim.experiments
you will find a number of experiments that aim to highlight the actor architecture.
Each one of them has its own main function and should be run individually.
These examples are based on the ones found in this guide.
Hierarchy
- understand what the actor hierarchy looks likeStartStop
- understand the actor life cycleSupervision
- understand the supervisor strategy
Disclaimer: This kotlin project is based on the akka iot example project made available by Lightbend.
TBC