Links

Akka: simpler Scalability, Fault-Tolerance, Concurrency & Remoting through Actors

Akka is the platform for the next generation event-driven, scalable and fault-tolerant architectures on the JVM.

http://www.akkasource.org/

Scala Example:

 1 // creates an actor on the remote node 
 2     val service = actor("remote.node", 9999) {
 3       case fun => reply(fun())
 4     }
 5 
 6     // creates a processing function 
 7     val processingFun = () => ...
 8 
 9     // sends function to remote node 
10     service ! processingFun

Filed under  //   actors   concurrency   java   scala  
Posted May 28, 2010 by email