You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
510 B

4 years ago
4 years ago
4 years ago
  1. # Akka Actors Demo
  2. An experiment to see how the actor model can be used to synchronize / encapsulate mutable state without the use of locks.
  3. ## Usage
  4. ```bash
  5. ./ActorsDemo.sc
  6. ```
  7. Sample output:
  8. ```
  9. 13:02:58.966 [TestActors-akka.actor.default-dispatcher-3] INFO ammonite.$file.AkkaActorsDemo.ActorDemo$RootActor$ - --- Beginning ---
  10. 13:02:58.967 [TestActors-akka.actor.default-dispatcher-5] INFO ammonite.$file.AkkaActorsDemo.ActorDemo$CounterActor$CounterActor - Value of counter is 5
  11. CounterResult(5)
  12. ```