Akka Ask

Posted on Leave a commentPosted in Akka, Java

On all our previous example we have been using Tell method to send messages to actors, in Akka this is known as fire-and-forget. Which means you send a message and there is no blocking, Actors, handle a separate thread to handle the actual work. But what happens when you need a return value? you pass a […]

Actor Hierarchy

Posted on Leave a commentPosted in Architect, Java

Akka Architecture by default supports parent-child Actor structures. On startup Akka already creates several actors for you: http://doc.akka.io/docs/akka/current/java/guide/tutorial_1.html Root guardian – to handle all the actors System guardian – Akka System guardian User guardian – user in this case is you, user guardian manages all the actors created by the developer. Usually you can only […]

Akka Actor Model

Posted on Leave a commentPosted in Architect, Java

Akka Actor Model  Dealing with highconcurrency, highly scalable applications. Again, just want to emphasize this site does not aim to give a complete comprehension of given topic, but rather an overview, or review of certain topics. It is still recommended to do a reading on the actual documentation. Recommended Reading: http://doc.akka.io/docs/akka/current/java/guide/tutorial_1.html What is Actor Architecture? In […]