Akka Actors on Mac beating the S#!t Out of my Dell
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,...
View ArticleQuickTip: Ignoring some jars from getting assembled in SBT 0.10x
We are using sbt-onejar and as expected but not intended all the jars along with thier transitive dependencies were getting included in the jar. This was giving us several warnings like JarClassLoader:...
View ArticleBuilding a Plugin Based Architecture in Scala
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...
View ArticleAMQP and AKKA
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...
View ArticlePower of Parallel Processing in Akka
If you have been following the Inphina blog and our work with Scala related technologies, you would have noticed a spurt in our blog feeds. The reason being that we have recently come out of a very...
View ArticleQuickTip: VerifyError with jdk 7
If you are struggling with the following kind of error java.lang.VerifyError: Expecting a stackmap frame at branch target 6 bla bla bla …. then a simple solution is to add the following default JVM...
View ArticleQuickTip: Limiting the number of rows returned by MySQL. Pagination
If you would like to get a row num, you would have to do something like this SELECT @rn:=@rn+1 AS rank, itemID, ordercount FROM ( SELECT itemID, COUNT(*) AS ordercount FROM orders GROUP BY itemID ORDER...
View ArticleQuckTip: Tagging your code on git
For Tagging >git tag -a v1.4 -m ‘version 1.4′ For viewing the tag >git tag For pushing it for everyone >git push --tags For tagging an existing commit > git tag -a v1.2 9fceb02 <start...
View ArticleFixing “SSL handshake failed: SSL error: Key usage violation in certificate...
This one solved it for me http://dionysus.uraganov.net/software/fixing-%E2%80%9Cssl-handshake-failed-ssl-error-key-usage-violation-in-certificate-has-been-detected-%E2%80%9D-error-on-svn-checkout/...
View Article