Skip to content

h0ngcha0/pingpong-with-akka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PingPong with Akka

Present some of the core concepts in Akka while playing Ping Pong!

Topics to be covered

- Concurrency
- Fault tolerance (supervision strategy)
- Akka remote
- Akka cluster
- Akka persistence

Generate docker image

sbt docker:publishLocal

Run

docker-compose up

under the project root directory

Example (executable in restclient-mode)

:port = 9000

:header = << CONTENT-TYPE: application/json

Send a pingpongball

POST http://localhost::port/ping :header

{"type": "pingpongball"}

Get number of balls seen

GET http://localhost::port/ping :header

About

Akka modules demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published