Author: Prabhat Kashyap

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

Reading Time: 4 minutes 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 of Blockchain

Reading Time: 2 minutes “Blockchain is more than just ICT innovation, but facilitates new types of economic organization and governance. Suggests two approaches to economics of blockchain: innovation-centred and governance-centred. Argues that the governance approach—based in new institutional economics and public choice economics—is most promising, because it models blockchain as a new technology for creating spontaneous organizations, ie new types of economies.” – Primavera De Fillippi, Academic, researcher, author Continue Reading

Supervision and Monitoring in Akka

Reading Time: 2 minutes What is supervision? Describes a dependency relationship between actors, the parent and child releationship. Parent is unique because it has created the child actor, so the parent is responsible for reacting when failures happens in his child. And parent decides which choice is need to be selected. When a parent receives the failure signal from it’s child, depends on the nature of failure the parent Continue Reading

Mocking Mail API in Scala

Reading Time: 2 minutes Few days ago I was working on a Mailing API of my project and used javax-mail API but encountered the problem of how to write unit test cases for that without actually mocking the mail. I searched for it but was unable to find a proper documentation about mocking a mailing service. I tried few methods but some were confusing and some were really complex. Then I Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!