Insights and perspectives to keep you updated.

Manage Akka Actors With Supervisors

Reading Time: 4 minutes We are building a concurrent and massively scalable system using Akka framework. Akka uses light-weight Actor paradigm of managing concurrency. Most of the times a bunch of Akka actors are required for a common functionality; therefore we do tend to manage them as a group. This is where Akka Supervisor comes into the picture. Akka Supervisors are responsible for starting, stopping and monitoring child Akka Continue Reading

AMQP and AKKA

Reading Time: 3 minutes AMQP is a message protocol that deals with publishers and consumers. It would look a lot like JMS but it is not. The main entities are Exchanges, Queues and Bindings. Look at the following diagram So a producer would send a message to the exchange and it is the job of the message broker (RabbitMQ in our case) to ensure that the messages are delivered Continue Reading

Building a Plugin Based Architecture in Scala

Reading Time: 3 minutes A plugin based architecture has many advantages. Some of the common ones include Extending an application’s functionality without compiling it again Adding functionality without requiring access to the original source code. Replacing or adding new functionality becomes easy Help in organizing large projects Help in extending the functionality of the system to unimagined areas. I know this one sounds extreme but believe me it is Continue Reading

Akka Actors on Mac beating the S#!t Out of my Dell

Reading Time: 2 minutes Let me explain the scenario. We have n (tens, hundreds or thousands) of Akka actors listening to a queue on RabbitMQ server. So the scenario looks something like this AMQP.newConsumer(connection, ConsumerParameters("*", actor, Some(queueName), Some(exchangeParameters))) As you would notice, each of the actors gets a message from the Q and invokes a plugin to do the processing and returns the results back to the result Q. Continue Reading

Creating Object Pool(s) in Scala

Reading Time: 3 minutes We are currently working on a very exciting web scale project. The framework is built using Scala and Akka actors and till date we are quite pleased with the performance. The architecture is plugin based where we can dynamically add plugins to our framework for processing incoming messages. Now, this is where it gets interesting and is the reason for this post. Some of the Continue Reading

Scala Nuggets: Finding All Classes in a Package

Reading Time: 2 minutes Recently, while doing a project for one of our clients in the US, we had the opportunity to build a plugin based framework for the product. While, the details of the plugin framework are reserved as a topic of another post, in this one we would see how easy it is to find all the classes in a package using a utility provided by Clapper. Continue Reading

Manager! Leave the team alone!

Reading Time: 3 minutes The following post is from our guest editor Srinivas Chillara. Srinivas is a Scrum coach and co-author of “Essentials of Scrum practice“- a mini-book currently in advanced draft stage. We don’t need no disruption We don’t need no time control No breathing down the neck in the server room Manager, leave the team alone. What do we do if a senior manager is asking for a ‘resource’ from Continue Reading

Google Apps Script And Getting Site Context

Reading Time: 2 minutes Google Script UI services enables to create rich UI in Google Sites. There is a bug where there is no way to find out directly where Google Apps Script is embedded in Sites. If you are faced with similar dilemma and need a workaround read on. This a critical issue when a script intended to be executed for multiple sites. In our case the requirement Continue Reading

Working With Scala Collections

Reading Time: 2 minutes We have a monthly iBAT (Inphina Beer and Technology Sessions). We look forward to this day and it was Scala day this time. I presented on Scala collections. Scala collection is elegant and concise. Scala Collections like java is object-oriented and we can work with generic types. It is optionally persistent i.e can be mutable and immutable. It provides higher order methods like foreach, map Continue Reading

Commitment Under Pressure

Reading Time: 3 minutes The following post is from our guest editor Srinivas Chillara. Srinivas is a Scrum coach and co-author of “Essentials of Scrum practice“- a mini-book currently in advanced draft stage. This is an extract from the book. The hidden hobbler of Scrum teams: Pressure One common problem Scrum teams face is in the difficulty of meeting their sprint goals, followed by increasing pressure, which is never-ending. Continue Reading

Experiences at Cloud Computing Conference Pune 2011

Reading Time: 1 minute I was one of the speaker of the second IndicThreads conference held at Pune on 3-4th June 2011. Sessions at the conference dealt with key topics like Cloud Security, Amazon Elastic Beanstalk, Legal Issues in Cloud Computing, OpenStack, Xen Cloud Platform, Rails and CouchDB on the cloud, CloudFoundry, Gigapaces PAAS, Monitoring Cloud Applications, ORM with Objectify-Appengine, Scalable Architecture on Amazon AWS Cloud, Cloud Lock-in, Cloud Continue Reading

Scala Nuggets: Understanding Traits

Reading Time: 4 minutes Inphina provides specialized Scala consulting, training and offshoring … Learn more about Scala@Inphina! If you are coming from a Java background, then traits are interfaces++.  In scala, trait is a complete mixin solution where we can provide implementation in the trait as well as have classes mix-in the trait either when we declare classes or even when we are creating an instance of the class. Continue Reading

Knoldus Pune Careers - Hiring Freshers

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