akkapaint
akkapaint copied to clipboard
Akka Paint 
Akka Paint is web application that implements scalable, multiuser, with real time changes painting board. This is a simple project demonstrating Play! and Akka features such as:
- persistent actors
- cluster sharding
- akka-streams
More info about the project can be found here.
Try it!
- Install and run cassandra database
Probably the easiest way to do so:
docker run --name akka-paint-cassandra -p 9042:9042 -d cassandra:latest
Create tables structure for akkapaint-history feature:
docker cp ./akkapaint-history/src/main/resources/images.cql akka-paint-cassandra:images.cql
docker exec -it akka-paint-cassandra cqlsh -f images.cql
- Simply type
sbt run
and go to the address http://localhost:9000/demo.
Open the second window to see real time changes!
Or try the online demo: http://demo.akkapaint.org/
Load the whole image
Type sbt "runMain org.akkapaint.perf.AkkaPaintSimulationMain"
to load default image. It will send whole image pixel by pixel (aka. stress test ;))