https://github.com/nyavro/clusterpingpong
Sample clustered AKKA application
https://github.com/nyavro/clusterpingpong
Last synced: 2 months ago
JSON representation
Sample clustered AKKA application
- Host: GitHub
- URL: https://github.com/nyavro/clusterpingpong
- Owner: nyavro
- Created: 2015-02-11T19:22:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-17T20:01:37.000Z (over 10 years ago)
- Last Synced: 2025-04-05T23:42:04.860Z (6 months ago)
- Language: Scala
- Size: 2.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Sample AKKA cluster
To run on local machine:
1. Open terminal for Frontend
2. Run activator
3. runMain pingpong.Frontend
4. Open terminal for Backend 1
5 Run activator
6 runMain pingpong.Backend 2551 777
7 Open terminal for Backend 2
8 Run activator
9 runMain pingpong.Backend 2552 1111See the result like:
[info] Don't disturb me with Job-25! I'm doing only very important job on node 777!
[info] Very important job is done on node 1111
[info] Don't disturb me with Job-26! I'm doing only very important job on node 777!
[info] Don't disturb me with Job-27! I'm doing only very important job on node 1111!
[info] Very important job is done on node 777
[info] Very important job is done on node 1111
[info] Don't disturb me with Job-28! I'm doing only very important job on node 777!