Browsing All Posts filed under »Architecture«

AMQP and AKKA

September 15, 2011

1

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 […]

Building a Plugin Based Architecture in Scala

September 15, 2011

0

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 […]

Creating Object Pool(s) in Scala

August 26, 2011

0

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 […]

Inphina Presenting on the Cloud Slam' 2011 Today!

April 22, 2011

0

Inphina is one of the front runners on Google App Engine, at the Cloud Slam 2011. It is rubbing shoulders with some of the well known cloud vendors and niche technology organizations at the conference. Today, I would be presenting on Multi-tenancy in the cloud and Google App Engine. As you would imagine, the session […]

Testing Jersey Based REST Services with Grizzly

March 7, 2011

1

In my last post, we had seen how easy it was to create REST based services with Spring and Jersey. In this post we would quickly see how we can unit test them. Ok, this is not entirely a unit test in the strict sense because we are not testing the resource in isolation but […]

Adding Rules to Drools Guvnor Programmatically with WebDAV

February 14, 2011

2

First, a very basic introduction before we get into code. Drools is a Business Logic integration platform which offers an integrated platform for Rules, workflow, event processing etc. Drools started off as a Rete based rule engine but over the years has evolved to have multiple sub-projects. Main ones of course are Drools Expert (Rule […]

Code Smell : Primitive Obsession

February 7, 2011

2

Primitive Obsession is when the code relies too much on primitives. What this means is that a primitive value controls the logic in a class and this primitive value is not type safe. For example, there are multiple situations in which we might consider the use of String for comparison and driving the logic even […]