Actor

Protobuf Serialization in Akka

Before Protobuf, lets have a look at what role does serialization play in Akka. The messages that Akka actors send to each other are JVM objects (e.g. instances of Scala case classes). Message passing between actors that live on the same JVM is straightforward. It is simply done via reference passing. However, messages that have to escape the JVM to reach an actor running on Continue Reading

Getting Started with Actors [Akka in a Nutshell #2]

Hierarchical Structure Actors are objects which encapsulate state and behavior, they communicate by exchanging messages. We can consider an actor as a person. Like a software development team, actors form hierarchies. In a team there is a project manager who takes requirements from client and distributes it over to different team leads. Then those team leads further distribute the tasks to other team members.Team members Continue Reading

Introduction to Actor Model [Akka in a Nutshell #1]

According to Akka documentation, ” An actor is a container for State, Behavior, a Mailbox, Child Actors and a Supervisor Strategy. “ Let us begin by understanding the need of an Actor Model, A lot of things have changed in the present scenario. The processes are getting more coarse, This means in order to execute our programs faster we need to use multiple cores which Continue Reading

%d bloggers like this: