| CARVIEW |
- Project
- Documentation
- Download
- Code
- Mailing List
- Benchmarks
- Commercial Support
New Release: Akka 0.10
Simpler Concurrency
Write simpler concurrent (yet correct) applications using Actors, STM & Transactors.
Event-driven Architecture
The perfect platform for asynchronous event-driven architectures. Never block.
True Scalability
Scale out on multi-core or multiple nodes using asynchronous message passing.
Fault-tolerance
Embrace failure. Write applications that self-heal using Erlang-style Actor supervisor hierarchies.
Transparent Remoting
Remote Actors gives you a high-performance transparent distributed programming model.
Scala & Java API
Scala and Java API as well as Spring and Guice integration. Deploy in your application server or run stand-alone.
Do you want to play the best "betsoft casino usa"? On Casino.info you have $ 75 free for the best Slots! Offer valid ONLY FOR TODAY!
Example
Create a Remote Actor on another node that receives and replies to messages sent to it from a client node.
Java API
// server code class HelloWorldActor extends UntypedActor { public void onReceive(Object msg) { getContext().reply(msg + " World"); } } RemoteNode.start("localhost", 9999).register( "hello-service", actorOf(HelloWorldActor.class); // client code ActorRef actor = RemoteClient.actorFor( "hello-service", "localhost", 9999); Object res = actor.sendRequestReply("Hello");
Scala API
// server code class HelloWorldActor extends Actor { def receive = { case msg => self reply (msg + " World") } } RemoteNode.start("localhost", 9999).register( "hello-service", actorOf[HelloWorldActor]) // client code val actor = RemoteClient.actorFor( "hello-service", "localhost", 9999) val result = actor !! "Hello"
That's it. Can't be much simpler.
MAIL: CONTACT @ AKKASOURCE.ORG
Akka is the platform for the next generation event-driven, scalable and fault-tolerant architectures on the JVM
We believe that writing correct concurrent, fault-tolerant and scalable applications is too hard. Most of the time it's because we are using the wrong tools and the wrong level of abstraction.
Akka is here to change that.
Using the Actor Model together with Software Transactional Memory we raise the abstraction level and provide a better platform to build correct concurrent and scalable applications.
For fault-tolerance we adopt the "Let it crash" / "Embrace failure" model which have been used with great success in the telecom industry to build applications that self-heal, systems that never stop.
Actors also provides the abstraction for transparent distribution and the basis for truly scalable and fault-tolerant applications.
Akka is Open Source and available under the Apache 2 License.
© 2009-2010 Scalable Solutions AB
Commercial Support |
