simplifying the construction of concurrent and distributed applications on the JVM. Akka supports multiple programming models for concurrency, but it emphasizes actor-based concurrency, with inspiration drawn from Erlang.” (Wikipedia) • Initial release: 2009 • Production users: ebay, cisco, bbc, amazon …
application • Receives and sends messages to other actors • Message is any Object - have to be immutable • Actor processes one message at a time • Form a hierarchical structure (supervision) • Could be viewed a Person
allows for one time initialisation • postStop() - after actor is stopped, resources cleanup • preRestart() - right before restart, by default sends termination request to children and calls postStop() • postRestart() - by default calls preStart()