Skip to content

Akka hands-on for the Distributed Data Management course at the Hasso-Plattner-Institute

Notifications You must be signed in to change notification settings

alpreu/ddm-handson-akka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddm-handson-akka

Our solution for the akka hands-on of the Distributed Data Management course at the Hasso-Plattner-Institute. We implement the task using akka-cluster as well as using plain akka. The master branch is based on the akka-cluster branch, if you want to use the plain akka solution checkout the akka-plain branch.

Architecture

architecture of the system

Running the system

Build the project with maven first.
To start the MasterActorSystem run:

java -jar target/handson-akka-1.0-SNAPSHOT.jar master --workers <number of Worker actors> --slaves <number of SlaveActorSystems> --masterPort <MasterActorSystem port> --masterHost <MasterActorSystem address> --input students.csv

The Master will now be waiting for the Slaves to connect.
Start the SlaveActorSystems with:

java -jar target/handson-akka-1.0-SNAPSHOT.jar slave --workers <number of Worker actors> --masterPort <MasterActorSystem port> --masterHost <MasterActorSystem address> --slavePort <SlaveActorSystem port>

About

Akka hands-on for the Distributed Data Management course at the Hasso-Plattner-Institute

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages