Skip to content

Instantly share code, notes, and snippets.

@IvanGuardado
Last active August 29, 2015 14:02
Show Gist options
  • Save IvanGuardado/aad6c967cc392c1b7a4a to your computer and use it in GitHub Desktop.
Save IvanGuardado/aad6c967cc392c1b7a4a to your computer and use it in GitHub Desktop.
Node.js, The Bad Parts
val system = ActorSystem("MySystem")
var actorProps = Props[GreetingActor])
val greeter = system.actorOf(actorProps)
/*This sends a msg to the Greeting Actor.
Akka allows to abstract the Actor's
location. It can be in the same JVM
process, in a remote machine even
being a cluster of machines.*/
greeter ! Greeting("Charlie Parker")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment